Skip to content
Open
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
12 changes: 8 additions & 4 deletions .github/workflows/test-bohrium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Test Bohrium
'on':
push:
branches-ignore:
- 'copilot/**'
- 'dependabot/**'
- 'pre-commit-ci-update-config'
- 'copilot/**'
- 'dependabot/**'
- 'pre-commit-ci-update-config'
pull_request_target:
types:
- "labeled"
- "labeled"

jobs:
test:
Expand Down Expand Up @@ -37,6 +37,8 @@ jobs:
- uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
use_oidc: true
remove_label:
permissions:
contents: read
Expand All @@ -49,3 +51,5 @@ jobs:
with:
labels: Test Bohrium
number: ${{ github.event.pull_request.number }}
permissions:
id-token: write
34 changes: 19 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Python package
'on':
push:
branches-ignore:
- 'copilot/**'
- 'dependabot/**'
- 'pre-commit-ci-update-config'
- 'copilot/**'
- 'dependabot/**'
- 'pre-commit-ci-update-config'
pull_request:

jobs:
Expand All @@ -14,21 +14,21 @@ jobs:
strategy:
matrix:
python-version:
- 3.7
- 3.9
- '3.10'
- '3.11'
- '3.12'
- 3.7
- 3.9
- '3.10'
- '3.11'
- '3.12'
platform:
- ubuntu-22.04
- macos-latest
- windows-latest
- ubuntu-22.04
- macos-latest
- windows-latest
exclude: # Apple Silicon ARM64 does not support Python < v3.8
- python-version: "3.7"
platform: macos-latest
- python-version: "3.7"
platform: macos-latest
include: # So run those legacy versions on Intel CPUs
- python-version: "3.7"
platform: macos-15-intel
- python-version: "3.7"
platform: macos-15-intel
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -51,6 +51,8 @@ jobs:
- uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
use_oidc: true
pass:
needs: [test]
runs-on: ubuntu-latest
Expand All @@ -60,3 +62,5 @@ jobs:
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
permissions:
id-token: write