Skip to content

Commit

Permalink
Switch from coveralls github action to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-braun committed Jul 18, 2020
1 parent 535de97 commit d3f5df0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 28 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
# 1.2.0 is not installable with python 3.8...
SCIPY: "1.4.0"
STATSMODELS: "0.10.2"
env:
PYTHON: ${{ matrix.python-version }}
INSTALLATION: ${{ matrix.installation }}

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -86,7 +89,7 @@ jobs:
- name: Test with pytest
run: |
pytest --junitxml=junit/test-results-${{ matrix.python-version }}-${{ matrix.installation }}.xml tests
pytest --junitxml=junit/test-results-${{ matrix.python-version }}-${{ matrix.installation }}.xml --cov-report=xml tests
- name: Upload pytest test results
uses: actions/upload-artifact@v1
Expand All @@ -96,17 +99,7 @@ jobs:
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
parallel: true

coveralls_finish:
name: Coveralls Finished
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
env_vars: PYTHON,INSTALLATION
16 changes: 3 additions & 13 deletions .github/workflows/test_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,7 @@ jobs:
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
parallel: true

coveralls_finish:
name: Coveralls Finished
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
env_vars: PYTHON,INSTALLATION
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ We changed the default branch from "master" to "main".
- Fix spark and dask after #705 and for non-id named id columns (#712)
- Fix in the forecasting notebook (#729)
- Let tsfresh choose the value column if possible (#722)
- Move from coveralls github action to codecov (#734)

Version 0.16.0
==============
Expand Down
1 change: 0 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ seaborn>=0.7.1
ipython>=5.3.0
notebook>=4.4.1
pandas-datareader>=0.5.0
coveralls

0 comments on commit d3f5df0

Please sign in to comment.