diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 867ead0..0ced213 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: jobs: test: runs-on: ubuntu-latest + env: + PYTHONPATH: ${{ github.workspace }} steps: - uses: actions/checkout@v4 - name: Set up Python @@ -14,4 +16,4 @@ jobs: - name: Install dependencies run: pip install pytest - name: Run tests - run: pytest -q + run: python -m pytest -q diff --git a/patch.diff b/patch.diff new file mode 100644 index 0000000..c2cefa4 --- /dev/null +++ b/patch.diff @@ -0,0 +1,17 @@ +--- a/.github/workflows/ci.yml ++++ b/.github/workflows/ci.yml +@@ -5,6 +5,8 @@ + jobs: + test: + runs-on: ubuntu-latest ++ env: ++ PYTHONPATH: ${{ github.workspace }} + steps: + - uses: actions/checkout@v4 + - name: Set up Python +@@ -14,4 +16,4 @@ + - name: Install dependencies + run: pip install pytest + - name: Run tests +- run: pytest -q ++ run: python -m pytest -q