MilesCranmer commited on
Commit
422ae17
1 Parent(s): b1518ce

Make conda-forge test not check out repo

Browse files
.github/workflows/CI_conda_forge.yml CHANGED
@@ -24,7 +24,6 @@ jobs:
24
  use-mamba: [true, false]
25
 
26
  steps:
27
- - uses: actions/checkout@v3
28
  - name: "Set up Conda"
29
  uses: conda-incubator/setup-miniconda@v2
30
  with:
@@ -40,7 +39,4 @@ jobs:
40
  run: conda activate pysr-test && conda install pysr
41
  if: ${{ !matrix.use-mamba }}
42
  - name: "Run tests"
43
- run: |
44
- conda activate pysr-test
45
- cd $(python -c 'import pysr; from pathlib import Path; print(Path(pysr.__file__).parent.parent)')
46
- python -m unittest pysr.test.test
 
24
  use-mamba: [true, false]
25
 
26
  steps:
 
27
  - name: "Set up Conda"
28
  uses: conda-incubator/setup-miniconda@v2
29
  with:
 
39
  run: conda activate pysr-test && conda install pysr
40
  if: ${{ !matrix.use-mamba }}
41
  - name: "Run tests"
42
+ run: python -m pysr.test main