MilesCranmer commited on
Commit
ceeb420
1 Parent(s): 53289dd

Fix incorrect python binary in test

Browse files

conda was not being correctly initialized.
Need to declare "shell: bash -l {0}" to actually get it to work!

Files changed (1) hide show
  1. .github/workflows/CI_conda.yml +3 -3
.github/workflows/CI_conda.yml CHANGED
@@ -67,10 +67,10 @@ jobs:
67
  run: |
68
  python3 -m pip install .
69
  python3 -c 'import pysr; pysr.install()'
70
- shell: bash
71
  - name: "Ensure that static libpython warning appears"
72
  run: python3 test/test_static_libpython_warning.py
73
- shell: bash
74
  - name: "Run tests"
75
  run: python3 -m unittest discover -s test
76
- shell: bash
 
67
  run: |
68
  python3 -m pip install .
69
  python3 -c 'import pysr; pysr.install()'
70
+ shell: bash -l {0}
71
  - name: "Ensure that static libpython warning appears"
72
  run: python3 test/test_static_libpython_warning.py
73
+ shell: bash -l {0}
74
  - name: "Run tests"
75
  run: python3 -m unittest discover -s test
76
+ shell: bash -l {0}