Spaces:
Sleeping
Sleeping
Include asserts for Julia version found by PythonCall
Browse files
.github/workflows/CI.yml
CHANGED
|
@@ -60,6 +60,9 @@ jobs:
|
|
| 60 |
python -m pip install --upgrade pip
|
| 61 |
pip install .
|
| 62 |
python -c 'import pysr'
|
|
|
|
|
|
|
|
|
|
| 63 |
- name: "Install Coverage tool"
|
| 64 |
run: pip install coverage coveralls
|
| 65 |
- name: "Run tests"
|
|
|
|
| 60 |
python -m pip install --upgrade pip
|
| 61 |
pip install .
|
| 62 |
python -c 'import pysr'
|
| 63 |
+
- name: "Assert Julia version"
|
| 64 |
+
run: |
|
| 65 |
+
python3 -c "from pysr import jl; assert jl.VERSION == jl.seval('v\"${{ matrix.julia-version }}\"')"
|
| 66 |
- name: "Install Coverage tool"
|
| 67 |
run: pip install coverage coveralls
|
| 68 |
- name: "Run tests"
|
.github/workflows/CI_large_nightly.yml
CHANGED
|
@@ -42,6 +42,9 @@ jobs:
|
|
| 42 |
python -m pip install --upgrade pip
|
| 43 |
pip install .
|
| 44 |
python -c 'import pysr'
|
|
|
|
|
|
|
|
|
|
| 45 |
- name: "Run tests"
|
| 46 |
run: |
|
| 47 |
python -m pysr test main
|
|
|
|
| 42 |
python -m pip install --upgrade pip
|
| 43 |
pip install .
|
| 44 |
python -c 'import pysr'
|
| 45 |
+
- name: "Assert Julia version"
|
| 46 |
+
run: |
|
| 47 |
+
python3 -c "from pysr import jl; assert jl.VERSION == jl.seval('v\"${{ matrix.julia-version }}\"')"
|
| 48 |
- name: "Run tests"
|
| 49 |
run: |
|
| 50 |
python -m pysr test main
|