Skip to content

Commit

Permalink
add test path to pytest config (#405)
Browse files Browse the repository at this point in the history
* add test path to pytest config

* add weldx/asdf/cli

* use weldx path

* explicitly set schema test path

* update pytest_asdf.yml
  • Loading branch information
CagtayFabry committed Jul 12, 2021
1 parent 13dd216 commit 4c5c01c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest_asdf.yml
Expand Up @@ -17,6 +17,6 @@ jobs:
- name: pip installs
run: |
pip install -e .[test]
- name: run pytest
- name: run asdf schema pytest
run: |
pytest --asdf-tests --ignore=weldx/tests/ --no-cov weldx/asdf/schemas
pytest --asdf-tests --ignore=weldx/tests/ --no-cov weldx/asdf/schemas/
2 changes: 2 additions & 0 deletions setup.cfg
Expand Up @@ -98,6 +98,8 @@ match_dir = [^\.][^\docs].*
[tool:pytest]
addopts = --tb=short --color=yes -rs --cov=weldx --cov-report=term-missing:skip-covered --doctest-modules
#addopts = --tb=short --color=yes -rs -p no:cov
testpaths =
weldx
# custom test markers, see https://docs.pytest.org/en/latest/example/markers.html#mark-examples
markers =
slow: marks tests as slow to run (skipped by default, enable with --runslow option)
Expand Down

0 comments on commit 4c5c01c

Please sign in to comment.