From ab79610bba5799220fd6b7d2c272ec5b91115850 Mon Sep 17 00:00:00 2001 From: Guillaume Fieni Date: Wed, 22 Nov 2023 15:28:03 +0100 Subject: [PATCH] ci: Update codebase paths in workflows for the src-layout --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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