diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4144fd1d..d9ec4a7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,11 +29,11 @@ jobs: - name: Lint with flake8 run: | - flake8 --count --show-source --statistics powerapi/ tests/ + flake8 --count --show-source --statistics src/ tests/ - name: Static code analysis with pylint run: | - pylint powerapi/ tests/ + pylint src/ tests/ - name: Test with pytest run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4816dc7d..65d1b2c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: Check PowerAPI package version shell: python env: - PYTHONPATH: ${{ github.workspace }} + PYTHONPATH: ${{ github.workspace }}/src run: | import os import sys