Skip to content

Commit

Permalink
Another try
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Jun 7, 2023
1 parent 8705e3f commit 5cdce57
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .config/coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[run]
relative_files = True

[report]
omit =
"*/setup.py"
Expand Down
2 changes: 1 addition & 1 deletion .config/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pytest]
pythonpath = "../src"
pythonpath = ../src
addopts = "--color=yes"
log_cli = 1
2 changes: 1 addition & 1 deletion .github/workflows/run-python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
hatch run lint:style
- name: Publish in Coveralls
uses: AndreMiras/coveralls-python-action@develop
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: tests
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ features = ["html", "email", "test"]

[tool.hatch.envs.test.scripts]
test = """
pytest -c .config/pytest.ini --rootdir=. \
pytest -c .config/pytest.ini --rootdir=. --junitxml=test-results.xml \
--cov=. --cov-config=.config/coveragerc --no-cov-on-fail \
--junitxml=test-results.xml --cov-report=term-missing
--cov-report=lcov --cov-report=term-missing
"""

[[tool.hatch.envs.test.matrix]]
Expand Down

0 comments on commit 5cdce57

Please sign in to comment.