Skip to content

Commit

Permalink
ci: split out py3.13 to different workflow
Browse files Browse the repository at this point in the history
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
sanjayankur31 committed Jun 18, 2024
1 parent f81c71b commit 86eea2d
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 6 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/ci-internal.yml
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
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ on:
- development
- experimental
- 'test*'
pull_request:
branches:
- master
- development
- experimental
- 'test*'

jobs:
build:
Expand Down

0 comments on commit 86eea2d

Please sign in to comment.