Skip to content

Commit

Permalink
update os version (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-melf authored Oct 23, 2024
1 parent 0358cc0 commit 5ac3761
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nox-session.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ on:
os:
description: "Runner OS"
type: choice
default: "ubuntu-22.04"
default: "ubuntu-latest"
required: true
options:
- "ubuntu-22.04"
- "macos-12"
- "windows-2022"
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
nox-session:
description: "Nox session to run"
type: choice
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
build:
name: AQT - Build and Upload Package and Docs
runs-on: "ubuntu-22.04"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
name: Publish Package
if: github.event_name == 'release'
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Download all wheels
uses: actions/download-artifact@v4
Expand All @@ -103,7 +103,7 @@ jobs:
name: Publish Docs
if: github.event_name == 'release'
needs: publish-package
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
fail-fast: false
matrix:
include:
- { python: "3.11", os: "ubuntu-22.04", session: "pre-commit" }
- { python: "3.10", os: "ubuntu-22.04", session: "tests" }
- { python: "3.10", os: "macos-12", session: "tests" }
- { python: "3.11", os: "macos-12", session: "mypy" }
- { python: "3.10", os: "windows-2022", session: "tests" }
- { python: "3.10", os: "macos-12", session: "tests" }
- { python: "3.11", os: "windows-2022", session: "tests" }
- { python: "3.11", os: "ubuntu-22.04", session: "tests" }
- { python: "3.11", os: "macos-12", session: "tests" }
- { python: "3.12", os: "windows-2022", session: "tests" }
- { python: "3.12", os: "ubuntu-22.04", session: "tests" }
- { python: "3.12", os: "macos-12", session: "tests" }
- { python: "3.11", os: "ubuntu-22.04", session: "docs-build" }
- { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.11", os: "macos-latest", session: "mypy" }
- { python: "3.10", os: "windows-latest", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.11", os: "windows-latest", session: "tests" }
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
- { python: "3.11", os: "macos-latest", session: "tests" }
- { python: "3.12", os: "windows-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "macos-latest", session: "tests" }
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
uses: ./.github/workflows/nox-session.yml
with:
python-version: ${{ matrix.python }}
Expand All @@ -47,7 +47,7 @@ jobs:
fail-fast: false
matrix:
include:
- { python: "3.11", os: "ubuntu-22.04", session: "tests" }
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
uses: ./.github/workflows/nox-session.yml
with:
python-version: ${{ matrix.python }}
Expand All @@ -58,7 +58,7 @@ jobs:

check-for-pytket-pre-release:
name: Check for pytket pre-release
runs-on: "ubuntu-22.04"
runs-on: "ubuntu-latest"
outputs:
pre-release-exists: ${{ steps.check-pytket-prerelease.outputs.PRE_RELEASE_EXISTS }}
steps:
Expand Down Expand Up @@ -89,15 +89,15 @@ jobs:
fail-fast: false
matrix:
include:
- { python: "3.10", os: "windows-2022", session: "tests" }
- { python: "3.10", os: "ubuntu-22.04", session: "tests" }
- { python: "3.10", os: "macos-12", session: "tests" }
- { python: "3.11", os: "windows-2022", session: "tests" }
- { python: "3.11", os: "ubuntu-22.04", session: "tests" }
- { python: "3.11", os: "macos-12", session: "tests" }
- { python: "3.12", os: "windows-2022", session: "tests" }
- { python: "3.12", os: "ubuntu-22.04", session: "tests" }
- { python: "3.12", os: "macos-12", session: "tests" }
- { python: "3.10", os: "windows-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.11", os: "windows-latest", session: "tests" }
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
- { python: "3.11", os: "macos-latest", session: "tests" }
- { python: "3.12", os: "windows-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "macos-latest", session: "tests" }
uses: ./.github/workflows/nox-session.yml
with:
python-version: ${{ matrix.python }}
Expand All @@ -113,7 +113,7 @@ jobs:
- check-for-pytket-pre-release
- tests-pre-release
if: always()
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- shell: python
name: Check job results
Expand Down

0 comments on commit 5ac3761

Please sign in to comment.