MilesCranmer commited on
Commit
46f8a60
1 Parent(s): 698d616

Try to get subprocess coverage working again

Browse files
Files changed (1) hide show
  1. .github/workflows/CI.yml +1 -1
.github/workflows/CI.yml CHANGED
@@ -72,7 +72,7 @@ jobs:
72
  - name: "Install Coverage tool"
73
  run: pip install coverage coveralls
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"
 
72
  - name: "Install Coverage tool"
73
  run: pip install coverage coveralls
74
  - name: "Set up coverage for subprocesses"
75
+ run: echo 'import coverage; coverage.process_startup()' > "${{ github.workspace }}/sitecustomize.py"
76
  - name: "Run tests"
77
  run: coverage run -m pysr test main,cli,startup
78
  - name: "Install JAX"