Spaces:
Sleeping
Sleeping
Remove COVERAGE_PROCESS_START
Browse files- .github/workflows/CI.yml +5 -3
.github/workflows/CI.yml
CHANGED
|
@@ -24,6 +24,8 @@ jobs:
|
|
| 24 |
test:
|
| 25 |
runs-on: ${{ matrix.os }}
|
| 26 |
timeout-minutes: 60
|
|
|
|
|
|
|
| 27 |
defaults:
|
| 28 |
run:
|
| 29 |
shell: bash
|
|
@@ -72,18 +74,18 @@ jobs:
|
|
| 72 |
- name: "Set up coverage for subprocesses"
|
| 73 |
run:
|
| 74 |
- name: "Run tests"
|
| 75 |
-
run:
|
| 76 |
- name: "Install JAX"
|
| 77 |
run: pip install jax jaxlib # (optional import)
|
| 78 |
if: ${{ matrix.test-id == 'main' }}
|
| 79 |
- name: "Run JAX tests"
|
| 80 |
-
run:
|
| 81 |
if: ${{ matrix.test-id == 'main' }}
|
| 82 |
- name: "Install Torch"
|
| 83 |
run: pip install torch # (optional import)
|
| 84 |
if: ${{ matrix.test-id == 'main' }}
|
| 85 |
- name: "Run Torch tests"
|
| 86 |
-
run:
|
| 87 |
if: ${{ matrix.test-id == 'main' }}
|
| 88 |
- name: "Coveralls"
|
| 89 |
env:
|
|
|
|
| 24 |
test:
|
| 25 |
runs-on: ${{ matrix.os }}
|
| 26 |
timeout-minutes: 60
|
| 27 |
+
env:
|
| 28 |
+
COVERAGE_PROCESS_START: "${{ github.workspace }}/.coveragerc"
|
| 29 |
defaults:
|
| 30 |
run:
|
| 31 |
shell: bash
|
|
|
|
| 74 |
- name: "Set up coverage for subprocesses"
|
| 75 |
run:
|
| 76 |
- name: "Run tests"
|
| 77 |
+
run: coverage run -m pysr test main,cli,startup
|
| 78 |
- name: "Install JAX"
|
| 79 |
run: pip install jax jaxlib # (optional import)
|
| 80 |
if: ${{ matrix.test-id == 'main' }}
|
| 81 |
- name: "Run JAX tests"
|
| 82 |
+
run: coverage run --append -m pysr test jax
|
| 83 |
if: ${{ matrix.test-id == 'main' }}
|
| 84 |
- name: "Install Torch"
|
| 85 |
run: pip install torch # (optional import)
|
| 86 |
if: ${{ matrix.test-id == 'main' }}
|
| 87 |
- name: "Run Torch tests"
|
| 88 |
+
run: coverage run --append -m pysr test torch
|
| 89 |
if: ${{ matrix.test-id == 'main' }}
|
| 90 |
- name: "Coveralls"
|
| 91 |
env:
|