Update rocprofiler-systems github workflows (#193)
* Fix rocprofiler-systems CI * Fix 'Documentation' jobs * Python Linting fix * Add python 3.11, 3.12 * Fix python linting * Re-add ubuntu-noble workflow * Remove old workflows from project folder Signed-off-by: David Galiffi <David.Galiffi@amd.com> * Update rocprofiler-systems workflows Signed-off-by: David Galiffi <David.Galiffi@amd.com> Signed-off-by: Jason Bonnell <Jason.Bonnell@amd.com> * Retire ubuntu-focal workflow * Fix path to validation file in `build-docker.sh` * Update .github/workflows/rocprofiler-systems-python.yml Co-authored-by: David Galiffi <David.Galiffi@amd.com> * Revert dockerfile * Retire rocprofiler-systems-ubuntu-focal workflow * Include .github directory in cpack workflow sparse-checkout step * Revert git from ubuntu ci image --------- Signed-off-by: David Galiffi <David.Galiffi@amd.com> Signed-off-by: Jason Bonnell <Jason.Bonnell@amd.com> Co-authored-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
committed by
GitHub
vanhempi
efb2aff8cf
commit
b793b183a4
@@ -22,7 +22,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -33,14 +33,14 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
working-directory: projects/rocprofiler-systems/source/python/gui
|
||||
run: |
|
||||
cd projects/rocprofiler-systems/source/python/gui
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Lint with flake8
|
||||
working-directory: projects/rocprofiler-systems/source/python/gui
|
||||
run: |
|
||||
cd projects/rocprofiler-systems/source/python/gui
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# flake8 options are defined in setup.cfg
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user