diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 95c2d33..e687e01 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -22,7 +22,7 @@ jobs: - name: Build Documentation run: | - poetry run python -m nox -s build-docs + poetry run python -m nox -s docs:build lint-job: name: Linting and Type checks (Python-${{ matrix.python-version }}) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c7cb67..34134e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,13 @@ jobs: working-directory: ../integration-test-docker-environment - name: Run Unit Tests - run: poetry run pytest test/unit + run: poetry run nox -s test:unit + + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: .coverage + path: .coverage metrics: needs: [ fast-tests ] diff --git a/test/integration/conftest.py b/test/integration/conftest.py index 44b5ed7..f09c5ec 100644 --- a/test/integration/conftest.py +++ b/test/integration/conftest.py @@ -7,7 +7,7 @@ import pytest -from test.integration.test_utils import File, upload_file, delete_file +from test.integration.utils.test_utils import File, upload_file, delete_file @pytest.fixture diff --git a/test/integration/test_service_onprem.py b/test/integration/test_service_onprem.py index 8659cd3..279cd53 100644 --- a/test/integration/test_service_onprem.py +++ b/test/integration/test_service_onprem.py @@ -13,7 +13,7 @@ import pytest import requests -from test.integration.test_utils import ( +from test.integration.utils.test_utils import ( File, delete_file, ) diff --git a/test/integration/utils/__init__.py b/test/integration/utils/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/integration/test_utils.py b/test/integration/utils/test_utils.py similarity index 100% rename from test/integration/test_utils.py rename to test/integration/utils/test_utils.py