Skip to content

Commit

Permalink
ci test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
SalvadorBrandolin committed Sep 26, 2023
1 parent 4f8c605 commit a2fe7fa
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Codecov
on: [push]
jobs:
run:
runs-on: ubuntu-latest
env:
PYTHON: '3.10'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.10
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest tests/ --cov=ugropy/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true

0 comments on commit a2fe7fa

Please sign in to comment.