Skip to content

Commit e64be59

Browse files
committed
add strict markers to pytest configuration
1 parent 432d896 commit e64be59

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
pytest --doctest-modules --cov=ewstools --cov-report=xml tests/
4343
- name: Upload coverage to Codecov
44-
uses: codecov/codecov-action@v3
44+
uses: codecov/codecov-action@v4
4545
with:
4646
files: ./coverage.xml
4747
verbose: true # optional (default = false)

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ tf = [
3737

3838
[tool.pytest.ini_options]
3939
markers = ["tensorflow: tests requiring TensorFlow (deselect with '-m \"not tensorflow\"')"]
40+
addopts = "--strict-markers"
4041

4142
[tool.setuptools.packages]
4243
find = {}

0 commit comments

Comments
 (0)