Skip to content

Commit

Permalink
try to set python path
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjaigner committed Feb 11, 2025
1 parent 5138d86 commit b6b9d0e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ jobs:
- name: Install dependencies
run: poetry install --with=dev

- name: updating PATH to enable importing my package
run: echo "PYTHONPATH=src/" >> $GITHUB_ENV
shell: bash

- name: Run static type analysis
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'test-controller' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo %PYTHONPATH%
poetry run mypy --explicit-package-bases src/
shell: cmd

0 comments on commit b6b9d0e

Please sign in to comment.