MilesCranmer commited on
Commit
13cf1e5
·
1 Parent(s): 92819c3

Revert unneeded changes to CI

Browse files
.github/workflows/CI_conda_forge.yml CHANGED
@@ -1,6 +1,6 @@
1
  name: conda-forge
2
 
3
- # This CI tries the conda-forge version of PYSR
4
 
5
  on:
6
  schedule:
@@ -21,15 +21,23 @@ jobs:
21
  matrix:
22
  python-version: ['3.9']
23
  os: ['ubuntu-latest', 'macos-latest']
 
24
 
25
  steps:
26
  - uses: actions/checkout@v2
27
- - name: "Set up conda"
28
  uses: conda-incubator/setup-miniconda@v2
29
  with:
 
 
30
  auto-activate-base: true
31
- activate-environment: ""
 
 
 
 
32
  - name: "Install pysr with conda"
33
- run: conda create -n test -c conda-forge python=${{ matrix.python-version }} pysr=0.11.3
 
34
  - name: "Run tests"
35
- run: conda activate test && python -m unittest test.test && python -m unittest test.test_env
 
1
  name: conda-forge
2
 
3
+ # This CI tries the conda-forge version of PySR
4
 
5
  on:
6
  schedule:
 
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
28
+ - name: "Set up Conda"
29
  uses: conda-incubator/setup-miniconda@v2
30
  with:
31
+ miniforge-variant: Mambaforge
32
+ miniforge-version: latest
33
  auto-activate-base: true
34
+ python-version: ${{ matrix.python-version }}
35
+ activate-environment: test
36
+ - name: "Install pysr with mamba"
37
+ run: conda activate test && mamba install pysr
38
+ if: ${{ matrix.use-mamba }}
39
  - name: "Install pysr with conda"
40
+ run: conda activate test && conda install pysr
41
+ if: ${{ !matrix.use-mamba }}
42
  - name: "Run tests"
43
+ run: conda activate test && python3 -m unittest test.test && python3 -m unittest test.test_env