Skip to content

Commit

Permalink
fix: testing empty fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Oct 1, 2023
1 parent d69d238 commit 0f73b79
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/codacy-coverage-reporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install flake8 pytest coverage
if [ -f requirements.txt ]; then pip install -r requirements-dev.txt; fi
- name: Install pylops
run: |
pip install .
- name: Test with pytest
- name: Code coverage with coverage
run: |
pytest
coverage run -m pytest
coverage xml
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml

0 comments on commit 0f73b79

Please sign in to comment.