-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Correct behavior of matrix fallback priority, error on duplicat…
…e matrix selectors. (#110)
- Loading branch information
Showing
6 changed files
with
87 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
tests/examples/duplicate-specific-matrix-entries/dependencies.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
files: | ||
all: | ||
output: conda | ||
conda_dir: output/actual | ||
matrix: | ||
cuda: ["11.5", "11.8"] | ||
includes: | ||
- cudatoolkit | ||
channels: | ||
- rapidsai | ||
- conda-forge | ||
dependencies: | ||
cudatoolkit: | ||
specific: | ||
- output_types: conda | ||
matrices: | ||
- matrix: | ||
cuda: "11.5" | ||
packages: | ||
- cudatoolkit=11.5 | ||
- matrix: | ||
cuda: "11.5" | ||
packages: | ||
- cudatoolkit=11.5 |
27 changes: 27 additions & 0 deletions
27
tests/examples/specific-fallback-multiple-matches/dependencies.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
files: | ||
all: | ||
output: conda | ||
conda_dir: output/actual | ||
matrix: | ||
cuda: ["11.5", "11.8"] | ||
includes: | ||
- cudatoolkit | ||
channels: | ||
- rapidsai | ||
- conda-forge | ||
dependencies: | ||
cudatoolkit: | ||
specific: | ||
- output_types: conda | ||
matrices: | ||
- matrix: | ||
cuda: "11.5" | ||
packages: | ||
- cudatoolkit=11.5 | ||
- matrix: | ||
cuda: "11.*" | ||
packages: | ||
- cudatoolkit=11.* | ||
- matrix: | ||
packages: | ||
- cudatoolkit |
8 changes: 8 additions & 0 deletions
8
tests/examples/specific-fallback-multiple-matches/output/expected/all_cuda-115.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file is generated by `rapids-dependency-file-generator`. | ||
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. | ||
channels: | ||
- rapidsai | ||
- conda-forge | ||
dependencies: | ||
- cudatoolkit=11.5 | ||
name: all_cuda-115 |
8 changes: 8 additions & 0 deletions
8
tests/examples/specific-fallback-multiple-matches/output/expected/all_cuda-118.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file is generated by `rapids-dependency-file-generator`. | ||
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. | ||
channels: | ||
- rapidsai | ||
- conda-forge | ||
dependencies: | ||
- cudatoolkit=11.* | ||
name: all_cuda-118 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters