Skip to content

Commit de95f7b

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

File tree

2 files changed

+4
-84
lines changed

2 files changed

+4
-84
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: 4 additions & 3 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

0 commit comments

Comments
 (0)