diff --git a/.github/workflows/kubernetes_test.yaml b/.github/workflows/kubernetes_test.yaml index fa2cf24476..86bc51394a 100644 --- a/.github/workflows/kubernetes_test.yaml +++ b/.github/workflows/kubernetes_test.yaml @@ -11,6 +11,7 @@ on: - "nebari/**" - "setup.cfg" - "pyproject.toml" + - "pytest.ini" push: branches: - main @@ -25,6 +26,7 @@ on: - "nebari/**" - "setup.cfg" - "pyproject.toml" + - "pytest.ini" workflow_call: inputs: pr_number: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9a8c2c9d9b..c8dbd9699f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,6 +11,7 @@ on: - "nebari/**" - "setup.cfg" - "pyproject.toml" + - "pytest.ini" push: branches: - main @@ -25,6 +26,7 @@ on: - "nebari/**" - "setup.cfg" - "pyproject.toml" + - "pytest.ini" jobs: test-general: diff --git a/pytest.ini b/pytest.ini index 52d7c71f36..f99e183747 100644 --- a/pytest.ini +++ b/pytest.ini @@ -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