Skip to content

Commit

Permalink
ci: disable python 3.8 testing & sbom
Browse files Browse the repository at this point in the history
* related: intel#4606

There's a good PR intel#4606 which includes removing some python 3.8-isms, but it's
going to take a bit longer before it's ready to merge because some other stuff
got accidentally commited.  This PR disables the SBOM and testing workflows so
I don't have to deal with them over the holidays while we wait for intel#4606 to be
fully ready.

Signed-off-by: Terri Oda <terri.oda@intel.com>
  • Loading branch information
terriko committed Dec 23, 2024
1 parent 28081d0 commit a05c188
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
strategy:
matrix:
python: ['3.8', '3.9', '3.11', '3.12']
python: ['3.9', '3.11', '3.12']
timeout-minutes: 90
steps:
- name: Harden Runner
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Run async tests
if: env.sbom != 'true'
run: >
pytest -n 4 -v --durations=50
pytest -n 8 -v --durations=50
--ignore=test/test_cli.py
--ignore=test/test_cvedb.py
--ignore=test/test_requirements.py
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
- name: Run async tests
if: env.sbom != 'true'
run: >
pytest --cov --cov-append -n 32 --cov-report=xml -v --durations=50
pytest --cov --cov-append -n 8 --cov-report=xml -v --durations=50
--ignore=test/test_cli.py
--ignore=test/test_cvedb.py
--ignore=test/test_requirements.py
Expand Down Expand Up @@ -361,8 +361,8 @@ jobs:
- name: Run language scanner tests
if: env.sbom != 'true'
run: >
pytest --cov --cov-append -n 32 --cov-report=xml -v --durations=50
test/test_language_scanner.py
pytest --cov --cov-append -n 8 --cov-report=xml -v --durations=50
test/test_language_scanner.py
- name: Upload code coverage to codecov
if: env.sbom != 'true'
uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a # v5.0.2
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
- name: Run binary scanner tests
if: env.sbom != 'true'
run: >
pytest --cov --cov-append -n 32 --cov-report=xml -v --durations=50
pytest --cov --cov-append -n 8 --cov-report=xml -v --durations=50
test/test_scanner.py
- name: Upload code coverage to codecov
if: env.sbom != 'true'
Expand Down Expand Up @@ -748,7 +748,7 @@ jobs:
python -m cve_bin_tool.cli test/assets/test-kerberos-5-1.15.1.out
- name: Run async tests
run: >
pytest --cov --cov-append -n 4 -v --durations=50
pytest --cov --cov-append -n 8 -v --durations=50
--ignore=test/test_cli.py
--ignore=test/test_cvedb.py
--ignore=test/test_requirements.py
Expand Down

0 comments on commit a05c188

Please sign in to comment.