Skip to content

Commit

Permalink
Moves to an include matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dgasmith committed May 11, 2024
1 parent a3863d1 commit 34cbf0c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.9, 3.12]
environment: ["min-deps", "full", "min-ver"]
exclude:
include:
- python-version: 3.9
environment: "full"
environment: "min-deps"
- python-version: 3.12
environment: "min-deps"
- python-version: 3.9
environment: "min-ver"
- python-version: 3.11
environment: "full"

runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion devtools/conda-envs/full-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
# Base depends
- python ==3.11
- python >=3.9
- numpy >=1.23
- nomkl

Expand Down
2 changes: 1 addition & 1 deletion devtools/conda-envs/min-deps-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
# Base depends
- python
- python >=3.9
- numpy >=1.23
- nomkl

Expand Down
4 changes: 2 additions & 2 deletions devtools/conda-envs/min-ver-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ channels:
- conda-forge
dependencies:
# Base depends
- python >=3.8
- python >=3.9
- numpy >=1.23
- nomkl

# Backends
- tensorflow ==2.10.*
- tensorflow-cpu ==2.10.*
- dask ==2021.*

# Testing
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']

0 comments on commit 34cbf0c

Please sign in to comment.