Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Update ci.yml to make coveralls use the XML file
  • Loading branch information
enekomartinmartinez committed May 2, 2023
1 parent 6d90f38 commit e435ad7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ jobs:
pip install --prefer-binary -r tests/requirements.txt
pip install --prefer-binary -e .
- name: Test and coverage
run: pytest tests/ --cov=pysd -n 2
run: |
pytest tests/ --cov=pysd -n 2
coverage xml
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
file: coverage.xml
if: ${{ matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e435ad7

Please sign in to comment.