Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
f086a92
1
Parent(s):
3f56f6d
Don't include coverage from conda test
Browse files- .github/workflows/CI.yml +1 -12
.github/workflows/CI.yml
CHANGED
@@ -104,24 +104,13 @@ jobs:
|
|
104 |
run: |
|
105 |
python3 -m pip install .
|
106 |
python3 -c 'import pysr; pysr.install()'
|
107 |
-
- name: "Install Coverage tool"
|
108 |
-
run: python3 -m pip install coverage coveralls
|
109 |
- name: "Run tests"
|
110 |
-
run:
|
111 |
-
- name: "Run custom env tests"
|
112 |
-
run: coverage run --append --source=pysr --omit='*/test/*,*/feynman_problems.py' -m pysr.test env
|
113 |
-
- name: Coveralls
|
114 |
-
env:
|
115 |
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
116 |
-
COVERALLS_FLAG_NAME: conda-test-${{ matrix.test-name }}
|
117 |
-
COVERALLS_PARALLEL: true
|
118 |
-
run: coveralls --service=github
|
119 |
|
120 |
coveralls:
|
121 |
name: Indicate completion to coveralls.io
|
122 |
needs:
|
123 |
- test
|
124 |
-
- conda_test
|
125 |
runs-on: ubuntu-latest
|
126 |
defaults:
|
127 |
run:
|
|
|
104 |
run: |
|
105 |
python3 -m pip install .
|
106 |
python3 -c 'import pysr; pysr.install()'
|
|
|
|
|
107 |
- name: "Run tests"
|
108 |
+
run: cd /tmp && python -m pysr.test main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
coveralls:
|
111 |
name: Indicate completion to coveralls.io
|
112 |
needs:
|
113 |
- test
|
|
|
114 |
runs-on: ubuntu-latest
|
115 |
defaults:
|
116 |
run:
|