Skip to content

Commit

Permalink
Separate out integration and unit tests until isolation can be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Oct 11, 2023
1 parent 85a1c14 commit 3c4f7f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,9 @@ jobs:
python -m pip install --upgrade pip
pip install .[strict,tests,docs]
- name: Test
run: pytest --cov=jobflow_remote --cov-report=xml
- name: Unit tests
run: pytest --cov=jobflow_remote --cov-report=xml --ignore tests/integration

- name: Integration tests
# Unfortunate workaround required until we have better test/settings isolation
run: pytest --cov=jobflow_remote --cov-report=xml tests/integration
5 changes: 1 addition & 4 deletions tests/test_jobflow_remote.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from jobflow_remote import __version__


def test_version():
from jobflow_remote import __version__
assert __version__.startswith("0.0.1")


Expand All @@ -11,5 +9,4 @@ def test_imports():
"""
from jobflow_remote import SETTINGS # noqa

...

0 comments on commit 3c4f7f4

Please sign in to comment.