Skip to content

Commit

Permalink
ci(workflows): update long and network tests to Python 3.13 (#4779)
Browse files Browse the repository at this point in the history
* ci(workflows): update long and network tests to Python 3.13

* ci(workflows): Keep 3.10 in short tests, remove 3.13
  • Loading branch information
JigyasuRajput authored Feb 12, 2025
1 parent cb4d078 commit 4cdf3f9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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.9', '3.11', '3.12', '3.13']
python: ['3.9', '3.10', '3.11', '3.12'] # updated: replaced 3.13 with 3.10 in short tests
timeout-minutes: 90
steps:
- name: Harden Runner
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
test/test_cvedb.py
long_tests:
name: Long tests on Python 3.10
name: Long tests on Python 3.13
permissions:
contents: read
if: |
Expand All @@ -206,7 +206,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.10'
python-version: '3.13'
cache: 'pip'

- name: "Skip tests if this is an automated sbom job"
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
fail_ci_if_error: false

long_tests_languages:
name: Long tests on Python 3.10 (language parsers)
name: Long tests on Python 3.13 (language parsers)
permissions:
contents: read
if: |
Expand All @@ -307,7 +307,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.10'
python-version: '3.13'
cache: 'pip'

- name: "Skip tests if this is an automated sbom job"
Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
fail_ci_if_error: false

long_tests_scanners:
name: Long tests on Python 3.10 (scanners)
name: Long tests on Python 3.13 (scanners)
permissions:
contents: read
if: |
Expand All @@ -394,7 +394,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.10'
python-version: '3.13'
cache: 'pip'

- name: "Skip tests if this is an automated sbom job"
Expand Down Expand Up @@ -460,7 +460,7 @@ jobs:
fail_ci_if_error: false

long_tests_sync:
name: Long tests on Python 3.10 (synchronous)
name: Long tests on Python 3.13 (synchronous)
permissions:
contents: read
if: |
Expand All @@ -481,7 +481,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.10'
python-version: '3.13'
cache: 'pip'

- name: "Skip tests if this is an automated sbom job"
Expand Down Expand Up @@ -601,7 +601,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.10'
python-version: '3.13'
cache: 'pip'
- name: Get date
id: get-date
Expand Down

0 comments on commit 4cdf3f9

Please sign in to comment.