Skip to content

Commit

Permalink
codecov step
Browse files Browse the repository at this point in the history
  • Loading branch information
knaaptime committed Oct 2, 2023
1 parent d917836 commit e89ddba
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,9 @@ jobs:
run: |
pytest -v --color yes --cov geosnap/tests --cov-append --cov-report term-missing --cov-report xml .
- uses: codecov/codecov-action@v3

- name: Generate and publish the report
if: |
failure()
&& steps.status.outcome == 'failure'
&& github.event_name == 'schedule'
&& github.repository_owner == 'pysal'
uses: xarray-contrib/issue-from-pytest-log@v1
- name: codecov
uses: codecov/codecov-action@v3
with:
log-path: pytest-log.jsonl
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
name: geosnap-codecov

0 comments on commit e89ddba

Please sign in to comment.