Skip to content

Commit

Permalink
Merge pull request #17 from ocean-eddy-cpt/jbusecke-patch-1
Browse files Browse the repository at this point in the history
Add pytest ini options to config
  • Loading branch information
rabernat authored Jan 25, 2021
2 parents 17e6191 + 88e27a6 commit 04ad835
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Run Tests
shell: bash -l {0}
run: |
pytest -v -n auto --cov=./ --cov-report=xml
pytest --cov=./ --cov-report=xml
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ build-backend = "setuptools.build_meta"

[tool.isort]
known_third_party = ["numpy", "pytest", "scipy", "setuptools", "xarray"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = " -v -n auto"
testpaths = [
"tests",
]

0 comments on commit 04ad835

Please sign in to comment.