Skip to content

Commit

Permalink
update os version (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-melf authored Oct 23, 2024
1 parent 518a12e commit 0b6df66
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
name: Quantinuum - Build and test module
strategy:
matrix:
os: ['ubuntu-24.04', 'macos-14', 'windows-2022']
os: ['ubuntu-latest', 'macos-14', 'windows-latest']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
./.github/workflows/build-test nomypy
- name: Build and test including integration (3.11) nomypy
if: |
matrix.os == 'ubuntu-24.04' &&
matrix.os == 'ubuntu-latest' &&
(
(
github.event_name == 'push' &&
Expand Down Expand Up @@ -141,20 +141,20 @@ jobs:
- name: Install poetry
run: pip install poetry
- name: Install docs dependencies
if: (matrix.os == 'ubuntu-24.04') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
if: (matrix.os == 'ubuntu-latest') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
run: |
cd docs && bash ./install.sh
for w in `find wheelhouse/ -type f -name "*.whl"` ; do poetry install $w ; done
- name: Build docs
if: (matrix.os == 'ubuntu-24.04') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
if: (matrix.os == 'ubuntu-latest') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
timeout-minutes: 20
run: |
cd docs && poetry run bash ./build-docs.sh
pecos_checks:
name: Run local-emulator tests
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event_name == 'schedule'
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
Expand All @@ -176,7 +176,7 @@ jobs:
qa_checks:
name: Run backend tests with QA endpoint
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event_name == 'schedule'
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
Expand All @@ -199,7 +199,7 @@ jobs:
calendar_visualisation_tests:
name: Run calendar visualisation test
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event_name == 'schedule'
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
Expand All @@ -225,7 +225,7 @@ jobs:
prod_checks:
name: Run backend tests with QA and prod endpoint
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || contains(github.ref_name, 'runci/prod/')
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:
name: Publish to pypi
if: github.event_name == 'release'
needs: quantinuum-checks
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Download all wheels
# downloading all three files into the wheelhouse
Expand All @@ -286,7 +286,7 @@ jobs:
name: Build docs
if: github.event_name == 'release'
needs: publish_to_pypi
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:

changes:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
outputs:
examples: ${{ steps.filter.outputs.examples }}
steps:
Expand All @@ -42,7 +42,7 @@ jobs:
github.event_name == 'pull_request' &&
needs.changes.outputs.examples == 'true'
)
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
docs:
name: build docs
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
lint:

runs-on: ubuntu-24.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0b6df66

Please sign in to comment.