Skip to content

Commit

Permalink
Reorder environment variables to reduce repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Feb 22, 2024
1 parent 1eaba40 commit 0ed7fe7
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
name: Test

env:
# Coloured output for GitHub Actions
FORCE_COLOR: 3
# Some common environment variables, required for both GNU/Linux and macOS jobs
MPLBACKEND: Agg
CYTHON_TRACE: 1
CYTHONSPEC: cython
NUMPY_MIN: numpy==1.22.4
CYTHON_MIN: cython==0.29.35
SCIPY_MIN: scipy==1.8.0

# TODO: undo these when PR is ready
on:
Expand All @@ -20,14 +28,6 @@ jobs:
test_pywavelets_linux:
name: linux-cp${{ matrix.python-version }}-${{ matrix.OPTIONS_NAME }}
runs-on: ubuntu-latest
env:
MPLBACKEND: Agg
CYTHON_TRACE: 1
CYTHONSPEC: cython
NUMPY_MIN: numpy==1.22.4
CYTHON_MIN: cython==0.29.35
SCIPY_MIN: scipy==1.8.0

strategy:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
Expand Down Expand Up @@ -144,14 +144,6 @@ jobs:
test_pywavelets_macos:
name: macos-cp${{ matrix.python-version }}-${{ matrix.OPTIONS_NAME }}
runs-on: macos-latest
env:
MPLBACKEND: Agg
CYTHON_TRACE: 1
CYTHONSPEC: cython
NUMPY_MIN: numpy==1.22.4
CYTHON_MIN: cython==0.29.35
SCIPY_MIN: scipy==1.8.0

strategy:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
Expand Down

0 comments on commit 0ed7fe7

Please sign in to comment.