Skip to content

Commit

Permalink
Make codecov informational
Browse files Browse the repository at this point in the history
  • Loading branch information
aarchiba committed Jul 22, 2021
1 parent 37b20db commit 4001962
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
- os: ubuntu-latest
python: '3.8'
tox_env: 'notebooks'
- os: ubuntu-latest
python: '3.8'
tox_env: 'docs'
# - os: ubuntu-latest
# python: '3.8'
# tox_env: 'docs'
- os: ubuntu-latest
python: '3.8'
tox_env: 'py38-test-alldeps-cov'
Expand Down Expand Up @@ -83,12 +83,12 @@ jobs:
run: tox -e ${{ matrix.tox_env }} -- --remote-data=any
- name: Upload coverage to codecov
if: "endsWith(matrix.tox_env, '-cov')"
uses: codecov/codecov-action@v1.0.13
uses: codecov/codecov-action@v2
with:
file: ./coverage.xml
- name: Publish docs as an artifact
if: "endsWith(matrix.tox_env, 'docs')"
uses: actions/upload-artifact@v2
with:
name: documentation
path: .tox/docs_out/
# - name: Publish docs as an artifact
# if: "endsWith(matrix.tox_env, 'docs')"
# uses: actions/upload-artifact@v2
# with:
# name: documentation
# path: .tox/docs_out/
11 changes: 11 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage:
status:
project:
default:
informational: true
target: auto
# this allows a drop from the previous base commit coverage
threshold: 1%
patch:
default:
informational: true

0 comments on commit 4001962

Please sign in to comment.