MilesCranmer commited on
Commit
383ce87
·
1 Parent(s): 04c09f5

Set python version at creation

Browse files
.github/workflows/CI_conda_forge.yml CHANGED
@@ -27,10 +27,9 @@ jobs:
27
  - name: "Set up conda"
28
  uses: conda-incubator/setup-miniconda@v2
29
  with:
30
- python-version: ${{ matrix.python-version }}
31
  auto-activate-base: true
32
  activate-environment: ""
33
  - name: "Install pysr with conda"
34
- run: conda create -n test -c conda-forge pysr
35
  - name: "Run tests"
36
  run: conda activate test && python3 -m unittest test.test && python3 -m unittest test.test_env
 
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
34
  - name: "Run tests"
35
  run: conda activate test && python3 -m unittest test.test && python3 -m unittest test.test_env