diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de9090d..c5287ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,9 +27,12 @@ jobs: python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi + - name: Set up PYTHONPATH + run: | + export PYTHONPATH=$PYTHONPATH:$(pwd)/src - name: Lint with pylint run: | pylint src - name: Test with pytest run: | - pytest --cov src tests/ + pytest --cov=src tests/