diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3dcffa3..ccb5322 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,10 +36,10 @@ jobs: run: python -m pip install pyyaml - name: Test python scripts - run: | - cd custom - python -m unittest - cd .. + working-directory: custom + env: + PYTHONPATH: src/ + run: python -m unittest - name: Set test tag variable as an output id: vars diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index a60ef73..0000000 --- a/tests/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -import sys -sys.path.insert(0, "src") \ No newline at end of file