Skip to content

Commit

Permalink
Make .pytest.ini specifically for CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-kipawa committed Jan 22, 2024
1 parent 67365f9 commit ebdf0f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/full_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
pip install .[test]
- name: Test with pytest (basic)
run: |
pytest -m ""
pytest -c .pytest-ci.ini
- name: Install mikeio1d (optional dependencies)
run: |
pip install .[all]
- name: Test with pytest (optional dependencies)
run: |
pytest -m ""
pytest -c .pytest-ci.ini
6 changes: 6 additions & 0 deletions .pytest-ci.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
; this is the pytest configuration file used by the CI pipeline
[pytest]
addopts =
--strict-markers
markers =
slow
1 change: 1 addition & 0 deletions .pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
; this file is used locally and not in the CI pipeline - refer to .pytest-ci.ini for CI pipeline configuration
[pytest]
addopts =
--strict-markers
Expand Down

0 comments on commit ebdf0f9

Please sign in to comment.