Skip to content

Commit

Permalink
maint: do not run unit tests in all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Oct 23, 2024
1 parent 24ce39e commit ffd8067
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 58 deletions.
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

0 comments on commit ffd8067

Please sign in to comment.