diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44d2bef..348c61b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,13 +34,14 @@ jobs: - name: Lint with flake8 and pylint run: | flake8 - find . -name '*.py' -exec pylint {} \; + pylint src test - name: Test with pytest run: | - pytest --cov=src --cov=test + pytest - name: Generate coverage report if: "matrix.coverage" run: | + pytest --cov=src --cov=test python -m coverage xml - name: Upload coverage to Codecov if: "matrix.coverage"