Skip to content

Commit 648a225

Browse files
committed
CI: Consolidate stable and pre-release tests
1 parent 7f28eb3 commit 648a225

File tree

2 files changed

+5
-85
lines changed

2 files changed

+5
-85
lines changed

.github/workflows/pre-release.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/stable.yml renamed to .github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Stable tests
1+
name: Build and test
22

33
# This file tests the claimed support range of NiBabel including
44
#
@@ -99,16 +99,17 @@ jobs:
9999
- name: Run tests
100100
run: pytest --doctest-modules --doctest-plus -v --pyargs nibabel -n auto
101101

102-
stable:
102+
test:
103103
# Check each OS, all supported Python, minimum versions and latest releases
104104
runs-on: ${{ matrix.os }}
105+
continue-on-error: ${{ matrix.dependencies == 'pre' }}
105106
strategy:
106107
fail-fast: false
107108
matrix:
108109
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
109110
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
110111
architecture: ['x64', 'x86']
111-
dependencies: ['full']
112+
dependencies: ['full', 'pre']
112113
include:
113114
# Basic dependencies only
114115
- os: ubuntu-latest
@@ -165,7 +166,7 @@ jobs:
165166
publish:
166167
runs-on: ubuntu-latest
167168
environment: "Package deployment"
168-
needs: [stable, test-package]
169+
needs: [test, test-package]
169170
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
170171
steps:
171172
- uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)