diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index ad5cca1bf2..9f7fdc6567 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -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 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 0ea4070d42..14f91aac29 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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' @@ -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