Skip to content

Commit

Permalink
Modified cont_int.yml
Browse files Browse the repository at this point in the history
Only run on Py3.7
  • Loading branch information
alongd committed May 6, 2021
1 parent 924be81 commit 8940aac
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/cont_int.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
name: continuous integration

on: [push]
on:
push:
pull_request:
branches:
- master
types: [opened, synchronize, reopened, ready_for_review, review_requested]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]

steps:
- uses: actions/checkout@v2

- name: Set up miniconda Python ${{ matrix.python-version }}
- name: Set up miniconda Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: t3_env
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
python-version: 3.7
auto-activate-base: false

- name: Install codecov
run: conda install -y -c conda-forge codecov

- name: Install dependencies
shell: bash -l {0}
run: |
Expand All @@ -29,7 +34,7 @@ jobs:
echo $(pwd)
conda list
- name: Test with nosetests
- name: Test with PyTest
shell: bash -l {0}
run: |
cd ..
Expand Down

0 comments on commit 8940aac

Please sign in to comment.