Skip to content

Commit f042647

Browse files
committed
Modified cont_int.yml
Only run on Py3.7
1 parent f643b7c commit f042647

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/cont_int.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
11
name: continuous integration
22

3-
on: [push]
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- master
8+
types: [opened, synchronize, reopened, ready_for_review, review_requested]
49

510
jobs:
611
build:
712
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
python-version: [3.7, 3.8]
1113

1214
steps:
1315
- uses: actions/checkout@v2
1416

15-
- name: Set up miniconda Python ${{ matrix.python-version }}
17+
- name: Set up miniconda Python 3.7
1618
uses: conda-incubator/setup-miniconda@v2
1719
with:
1820
activate-environment: t3_env
1921
environment-file: environment.yml
20-
python-version: ${{ matrix.python-version }}
22+
python-version: 3.7
2123
auto-activate-base: false
2224

25+
- name: Install codecov
26+
run: conda install -y -c conda-forge codecov
27+
2328
- name: Install dependencies
2429
shell: bash -l {0}
2530
run: |
@@ -29,7 +34,7 @@ jobs:
2934
echo $(pwd)
3035
conda list
3136
32-
- name: Test with nosetests
37+
- name: Test with PyTest
3338
shell: bash -l {0}
3439
run: |
3540
cd ..

0 commit comments

Comments
 (0)