-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: split out py3.13 to different workflow
Our PR now uses `pull_request_target` to allow coverage info, and we don't want to have both `pull_request_target` and `pull_request` in the same workflow.
- Loading branch information
1 parent
f81c71b
commit 86eea2d
Showing
2 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Continuous builds: py3.13 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- development | ||
- experimental | ||
- 'test*' | ||
pull_request: | ||
branches: | ||
- master | ||
- development | ||
- experimental | ||
- 'test*' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
strategy: | ||
matrix: | ||
python-version: ["3.13.0-beta.2"] | ||
fail-fast: false | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Print refs | ||
run: | | ||
echo "github.ref is: ${{ github.ref }}" | ||
echo "github.base_ref is: ${{ github.base_ref }}" | ||
- name: Upgrade pip, install deps | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install numpy<2.0.0 # due to lingering issues with other modules | ||
pip install .[dev] | ||
- name: List packages so far | ||
run: | | ||
pip list | ||
- name: Run tests | ||
run: | | ||
pynml -h | ||
./test-ghactions.sh -neuron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters