From 4cdf3f9b04d8feaaed880fed3baeec4a7a8acd44 Mon Sep 17 00:00:00 2001 From: Jigyasu Rajput <137029921+JigyasuRajput@users.noreply.github.com> Date: Wed, 12 Feb 2025 22:09:44 +0530 Subject: [PATCH] ci(workflows): update long and network tests to Python 3.13 (#4779) * ci(workflows): update long and network tests to Python 3.13 * ci(workflows): Keep 3.10 in short tests, remove 3.13 --- .github/workflows/testing.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index aff748798b..4f08416d71 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.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 @@ -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: | @@ -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" @@ -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: | @@ -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" @@ -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: | @@ -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" @@ -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: | @@ -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" @@ -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