Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

MAINT: Do not run unit tests in all platforms #240

Merged
merged 1 commit into from
Oct 23, 2024
Merged
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
24 changes: 4 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,8 @@ permissions:

jobs:
stable:
# Check each OS, all supported Python, minimum versions and latest releases
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
python-version: ['3.10', '3.11', '3.12']
dependencies: ['full', 'pre']
include:
- os: ubuntu-latest
python-version: '3.10'
dependencies: 'min'

env:
DEPENDS: ${{ matrix.dependencies }}

# Unit tests only on Linux/Python 3.12
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -55,13 +42,10 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Display Python version
run: python -c "import sys; print(sys.version)"
python-version: '3.12'
- name: Install ANTs
run: |
conda install conda-forge::ants
conda install -c conda-forge ants=2.5
- name: Install datalad
run: |
python -m pip install datalad-installer
Expand Down
37 changes: 0 additions & 37 deletions env.yml

This file was deleted.

3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pass_env =
NO_COLOR
CLICOLOR
CLICOLOR_FORCE
CURBRANCH
GITHUB_ACTIONS
TEST_DATA_HOME
TEST_OUTPUT_DIR
Expand All @@ -43,7 +44,7 @@ labels = docs
allowlist_externals = make
extras = doc
commands =
make -C doc html
make -C docs/ SPHINXOPTS="-W -v" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html

[testenv:spellcheck]
description = Check spelling
Expand Down