Spaces:
Running
Running
Commit
·
34c3e41
1
Parent(s):
f75d348
Never use mamba, for testing
Browse files
.github/workflows/CI_conda_forge.yml
CHANGED
|
@@ -21,7 +21,6 @@ jobs:
|
|
| 21 |
matrix:
|
| 22 |
python-version: ['3.9']
|
| 23 |
os: ['ubuntu-latest', 'macos-latest']
|
| 24 |
-
use-mamba: [true, false]
|
| 25 |
use-miniforge: [true, false]
|
| 26 |
|
| 27 |
steps:
|
|
@@ -35,7 +34,6 @@ jobs:
|
|
| 35 |
auto-activate-base: true
|
| 36 |
python-version: ${{ matrix.python-version }}
|
| 37 |
activate-environment: test
|
| 38 |
-
use-mamba: ${{ matrix.use-mamba }}
|
| 39 |
- name: "Set up conda"
|
| 40 |
uses: conda-incubator/setup-miniconda@v2
|
| 41 |
if: ${{ !matrix.use-miniforge }}
|
|
@@ -44,12 +42,7 @@ jobs:
|
|
| 44 |
auto-activate-base: true
|
| 45 |
python-version: ${{ matrix.python-version }}
|
| 46 |
activate-environment: test
|
| 47 |
-
use-mamba: ${{ matrix.use-mamba }}
|
| 48 |
-
- name: "Install pysr with mamba"
|
| 49 |
-
run: conda activate test && mamba install -c conda-forge pysr
|
| 50 |
-
if: ${{ matrix.use-mamba }}
|
| 51 |
- name: "Install pysr with conda"
|
| 52 |
run: conda activate test && conda install -c conda-forge pysr
|
| 53 |
-
if: ${{ !matrix.use-mamba }}
|
| 54 |
- name: "Run tests"
|
| 55 |
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-miniforge: [true, false]
|
| 25 |
|
| 26 |
steps:
|
|
|
|
| 34 |
auto-activate-base: true
|
| 35 |
python-version: ${{ matrix.python-version }}
|
| 36 |
activate-environment: test
|
|
|
|
| 37 |
- name: "Set up conda"
|
| 38 |
uses: conda-incubator/setup-miniconda@v2
|
| 39 |
if: ${{ !matrix.use-miniforge }}
|
|
|
|
| 42 |
auto-activate-base: true
|
| 43 |
python-version: ${{ matrix.python-version }}
|
| 44 |
activate-environment: test
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
- name: "Install pysr with conda"
|
| 46 |
run: conda activate test && conda install -c conda-forge pysr
|
|
|
|
| 47 |
- name: "Run tests"
|
| 48 |
run: conda activate test && python3 -m unittest test.test && python3 -m unittest test.test_env
|