Skip to content

Commit

Permalink
support coverage for old py versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Sulla committed Jun 6, 2024
1 parent 50eef26 commit ed186c8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
omit =
_frozendict_py.py
Empty file added .coveragerc_py
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/build_primary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: pip install dist/*

- name: Test with pytest
run: pytest --cov=frozendict --cov-report=term-missing --cov-branch --cov-fail-under=100 --cov-config=pyproject_py.toml
run: pytest --cov=frozendict --cov-report=term-missing --cov-branch --cov-fail-under=100 --cov-config=.coveragerc_py

- uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[tool.cibuildwheel]
skip=["cp311-*", "cp312-*", "pp*"]

[tool.coverage.run]
omit = ["_frozendict_py.py"]
2 changes: 0 additions & 2 deletions pyproject_py.toml

This file was deleted.

0 comments on commit ed186c8

Please sign in to comment.