Skip to content

Commit

Permalink
Add NumPy version to codecov reporting and disable Linux py3.7 on draft
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Mar 18, 2021
1 parent dd8863d commit a8355b5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
isDraft: true
- os: windows-latest
isDraft: true
# - os: ubuntu-latest
# python-version: 3.7
# isDraft: true
- os: ubuntu-latest
python-version: 3.7
isDraft: true
# Pair Python 3.7 with NumPy 1.17 and Python 3.9 with NumPy 1.20
include:
# Pair Python 3.7 with NumPy 1.17 and Python 3.9 with NumPy 1.20
- python-version: 3.7
numpy-version: '1.17'
- python-version: 3.9
Expand All @@ -54,10 +54,11 @@ jobs:
run:
shell: bash -l {0}

# environmental variables used in coverage
# Environment variables used by codecov
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
NUMPY: ${{ matrix.numpy-version }}

steps:
# Cancel previous runs that are not completed
Expand Down Expand Up @@ -136,5 +137,5 @@ jobs:
uses: codecov/[email protected]
with:
file: ./coverage.xml # optional
env_vars: OS,PYTHON
env_vars: OS,PYTHON,NUMPY
fail_ci_if_error: false

0 comments on commit a8355b5

Please sign in to comment.