Skip to content

Commit

Permalink
improve pytest configuration (#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Apr 24, 2023
1 parent 2d8758f commit 217841f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/kubernetes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- "nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
push:
branches:
- main
Expand All @@ -25,6 +26,7 @@ on:
- "nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
workflow_call:
inputs:
pr_number:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- "nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
push:
branches:
- main
Expand All @@ -25,6 +26,7 @@ on:
- "nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"

jobs:
test-general:
Expand Down
10 changes: 10 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[pytest]
addopts =
# show tests that (f)ailed, (E)rror, or (X)passed in the summary
-rfEX
# Make tracebacks shorter
--tb=native
# enable all warnings
-Wd
markers =
conda: conda required to run this test (deselect with '-m \"not conda\"')
testpaths =
tests
xfail_strict = True

0 comments on commit 217841f

Please sign in to comment.