Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
a03df70
1
Parent(s):
2326b1e
Test with and without mamba in conda test
Browse files
.github/workflows/CI_conda_forge.yml
CHANGED
@@ -21,6 +21,7 @@ jobs:
|
|
21 |
matrix:
|
22 |
python-version: ['3.9']
|
23 |
os: ['ubuntu-latest', 'macos-latest']
|
|
|
24 |
|
25 |
steps:
|
26 |
- uses: actions/checkout@v2
|
@@ -32,7 +33,12 @@ jobs:
|
|
32 |
auto-activate-base: true
|
33 |
python-version: ${{ matrix.python-version }}
|
34 |
activate-environment: test
|
35 |
-
|
|
|
36 |
run: conda activate test && mamba install pysr
|
|
|
|
|
|
|
|
|
37 |
- name: "Run tests"
|
38 |
run: conda activate test && python3 -m unittest test.test && python3 -m unittest test.test_env
|
|
|
21 |
matrix:
|
22 |
python-version: ['3.9']
|
23 |
os: ['ubuntu-latest', 'macos-latest']
|
24 |
+
use-mamba: [true, false]
|
25 |
|
26 |
steps:
|
27 |
- uses: actions/checkout@v2
|
|
|
33 |
auto-activate-base: true
|
34 |
python-version: ${{ matrix.python-version }}
|
35 |
activate-environment: test
|
36 |
+
use-mamba: ${{ matrix.use-mamba }}
|
37 |
+
- name: "Install pysr with mamba"
|
38 |
run: conda activate test && mamba install pysr
|
39 |
+
if: ${{ matrix.use-mamba }}
|
40 |
+
- name: "Install pysr with conda"
|
41 |
+
run: conda activate test && conda install pysr
|
42 |
+
if: ${{ !matrix.use-mamba }}
|
43 |
- name: "Run tests"
|
44 |
run: conda activate test && python3 -m unittest test.test && python3 -m unittest test.test_env
|