ubuntu24-label-changes

This commit is contained in:
priya-kinthali 2024-10-09 17:47:24 +05:30
parent 19dfb7b659
commit 8f1af40bc2
6 changed files with 51 additions and 75 deletions

View File

@ -21,7 +21,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.9', 'pypy-3.9-v7.x'] python-version: ['3.9', 'pypy-3.9-v7.x']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -39,7 +39,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.9', 'pypy-3.9-v7.x'] python-version: ['3.9', 'pypy-3.9-v7.x']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -75,7 +75,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.9', 'pypy-3.9'] python-version: ['3.9', 'pypy-3.9']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -97,7 +97,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.9', 'pypy-3.9-v7.x'] python-version: ['3.9', 'pypy-3.9-v7.x']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -116,7 +116,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.9', 'pypy-3.9-v7.x'] python-version: ['3.9', 'pypy-3.9-v7.x']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -17,24 +17,18 @@ jobs:
runs-on: ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }}
strategy: strategy:
matrix: matrix:
operating-system: [ubuntu-20.04, windows-latest] operating-system:
[ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run with setup-python 3.8 - name: Run with setup-python 3.12
uses: ./ uses: ./
with: with:
python-version: 3.8 python-version: 3.12
- name: Verify 3.8 - name: Verify 3.12
run: python __tests__/verify-python.py 3.8 run: python __tests__/verify-python.py 3.12
- name: Run with setup-python 3.8.10
uses: ./
with:
python-version: 3.8.10
- name: Verify 3.8.10
run: python __tests__/verify-python.py 3.8.10
- name: Run with setup-python 3.9.13 - name: Run with setup-python 3.9.13
uses: ./ uses: ./
@ -43,7 +37,7 @@ jobs:
- name: Verify 3.9.13 - name: Verify 3.9.13
run: python __tests__/verify-python.py 3.9.13 run: python __tests__/verify-python.py 3.9.13
- name: Run with setup-python 3.9.13 - name: Run with setup-python 3.10.11
uses: ./ uses: ./
with: with:
python-version: 3.10.11 python-version: 3.10.11
@ -64,29 +58,29 @@ jobs:
- name: Verify 3.12.4 - name: Verify 3.12.4
run: python __tests__/verify-python.py 3.12.4 run: python __tests__/verify-python.py 3.12.4
- name: Run with setup-python 3.10 - name: Run with setup-python 3.10.11
id: cp310 id: cp310
uses: ./ uses: ./
with: with:
python-version: '3.10' python-version: '3.10.11'
- name: Verify 3.10 - name: Verify 3.10.11
run: python __tests__/verify-python.py 3.10 run: python __tests__/verify-python.py 3.10.11
- name: Run python-path sample 3.10 - name: Run python-path sample 3.10.11
run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
- name: Run with setup-python ==3.8 - name: Run with setup-python ==3.12
uses: ./ uses: ./
with: with:
python-version: '==3.8' python-version: '==3.12'
- name: Verify ==3.8 - name: Verify ==3.12
run: python __tests__/verify-python.py 3.8 run: python __tests__/verify-python.py 3.12
- name: Run with setup-python <3.11 - name: Run with setup-python <3.13
uses: ./ uses: ./
with: with:
python-version: '<3.11' python-version: '<3.13'
- name: Verify <3.11 - name: Verify <3.13
run: python __tests__/verify-python.py 3.10 run: python __tests__/verify-python.py 3.12
- name: Test Raw Endpoint Access - name: Test Raw Endpoint Access
run: | run: |
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty

View File

@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Update the ${{ env.TAG_NAME }} tag - name: Update the ${{ env.TAG_NAME }} tag
uses: actions/publish-action@v0.2.2 uses: actions/publish-action@v0.3.0
with: with:
source-tag: ${{ env.TAG_NAME }} source-tag: ${{ env.TAG_NAME }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }} slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

View File

@ -18,7 +18,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, ubuntu-20.04, ubuntu-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
graalpy: graalpy:
- 'graalpy-23.0' - 'graalpy-23.0'
- 'graalpy-22.3' - 'graalpy-22.3'
@ -63,7 +63,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, ubuntu-20.04, ubuntu-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
graalpy: ['graalpy23.0', 'graalpy22.3'] graalpy: ['graalpy23.0', 'graalpy22.3']
steps: steps:
@ -88,7 +88,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup GraalPy and check latest - name: Setup GraalPy and check latest

View File

@ -20,7 +20,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
pypy: pypy:
- 'pypy-2.7' - 'pypy-2.7'
- 'pypy-3.10' - 'pypy-3.10'
@ -74,7 +74,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly'] pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly']
steps: steps:
@ -99,7 +99,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup PyPy and check latest - name: Setup PyPy and check latest
@ -132,7 +132,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup PyPy and check latest - name: Setup PyPy and check latest

View File

@ -20,11 +20,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] python: [3.9.13, 3.10.11, 3.11.9, 3.12.3]
exclude:
- os: ubuntu-22.04
python: 3.8.10
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -58,11 +55,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] python: [3.9.13, 3.10.11, 3.11.9, 3.12.3]
exclude:
- os: ubuntu-22.04
python: 3.8.10
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -99,11 +93,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] python: [3.9.13, 3.10.11, 3.11.9, 3.12.3]
exclude:
- os: ubuntu-22.04
python: 3.8.10
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -138,11 +129,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3'] python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3']
exclude:
- os: ubuntu-22.04
python: 3.8.10
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -182,11 +170,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] python: [3.9.13, 3.10.11, 3.11.9, 3.12.3]
exclude:
- os: ubuntu-22.04
python: 3.8.10
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -226,7 +211,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -260,7 +245,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -288,7 +273,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -317,8 +302,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python: ['3.8', '3.9', '3.10', '3.11', '3.12'] python: ['3.11', '3.12']
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -341,8 +326,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] python-version: ['3.11', '3.12']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Python and check latest - name: Setup Python and check latest
@ -365,16 +350,13 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Python and check latest - name: Setup Python and check latest
uses: ./ uses: ./
with: with:
python-version: | python-version: |
3.8
3.9
3.10
3.11 3.11
3.12 3.12
check-latest: true check-latest: true