Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ jobs:
name: Report test results
uses: ./.github/workflows/report_test_results.yml
needs: [run_unit_tests, run_system_tests]
if: always()
if: always()
permissions:
checks: write
pull-requests: write
3 changes: 3 additions & 0 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ jobs:
run_ci:
name: Run CI
uses: ./.github/workflows/CI.yml
permissions:
checks: write
pull-requests: write
4 changes: 3 additions & 1 deletion .github/workflows/Publish_NIMS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
# package version that doesn't exist yet.
build:
name: Build
runs-on : ubuntu-latest
runs-on : ubuntu-24.04
permissions:
contents: write
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
check_examples:
name: Check examples
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_nimg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
check_nimg:
name: Check NIMG
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
# Set the working-directory for all steps in this job.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_nims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
check_nims:
name: Check NIMS
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
# Set the working-directory for all steps in this job.
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/report_test_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ on:
workflow_call:
workflow_dispatch:

permissions:
checks: write
pull-requests: write

jobs:
report_test_results:
name: Report test results
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/run_system_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
steps:
- name: Check out repo
uses: actions/checkout@v4
# The shared self-hosted image only provides the Python versions that main
# tests, so install the versions this branch's tox envlist needs. The last
# version listed becomes the default python used by Poetry.
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: |
3.9
3.10
3.12
3.13
3.11
architecture: ${{ matrix.configuration == 'py32' && 'x86' || 'x64' }}
- name: Copy and rename .env.simulation to .env
run: cp examples/.env.simulation .env

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-24.04]
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
# Fail-fast skews the pass/fail ratio and seems to make pytest produce
# incomplete JUnit XML results.
Expand Down
Loading