Skip to content

Commit

Permalink
Update unit_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
menouarazib committed Jul 25, 2023
1 parent 22b8e69 commit dfa6817
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
env: # Add the env section with GITHUB_TOKEN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 -m pytest --cov=eventdetector_ts --cov-report=xml --cov-ignore=eventdetector_ts/plotter tests/
python3 -m pytest --cov-report=xml tests/
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
[tool.ruff]
line-length = 120

[tool.coverage.run]
omit = [
"eventdetector_ts/plotter"
]
source = "eventdetector_ts"




[build-system]
requires = ["flit_core>=3.4"]
build-backend = "flit_core.buildapi"
Expand Down
6 changes: 0 additions & 6 deletions setup.cfg

This file was deleted.

0 comments on commit dfa6817

Please sign in to comment.