| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cfc6ce4 commit d9c1f19
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -52,6 +52,7 @@ jobs: | |||
| 52 | 52 | python -m pip install -U coverage | |
| 53 | 53 | python -m pip install -r Misc/requirements-test.txt | |
| 54 | 54 | python -m test.pythoninfo | |
| 55 | + export PYTHONPATH=`find .venv -name fullcoverage` | ||
| 55 | 56 | - name: 'Tests with coverage' | |
| 56 | 57 | run: > | |
| 57 | 58 | source ./.venv/bin/activate && | |
@@ -67,6 +68,7 @@ jobs: | |||
| 67 | 68 | || true | |
| 68 | 69 | - name: 'Publish code coverage results' | |
| 69 | 70 | run: | | |
| 71 | + export PYTHONPATH= | ||
| 70 | 72 | source ./.venv/bin/activate | |
| 71 | 73 | bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml | |
| 72 | 74 | env: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,11 +89,13 @@ matrix: | |||
| 89 | 89 | - ./venv/bin/python -m pip install -U coverage | |
| 90 | 90 | - ./venv/bin/python -m pip install -r Misc/requirements-test.txt | |
| 91 | 91 | - ./venv/bin/python -m test.pythoninfo | |
| 92 | + - export PYTHONPATH=`find venv -name fullcoverage` | ||
| 92 | 93 | script: | |
| 93 | 94 | # Skip tests that re-run the entire test suite. | |
| 94 | 95 | - xvfb-run ./venv/bin/python -m coverage run --branch --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures || true | |
| 95 | 96 | after_script: # Probably should be after_success once test suite updated to run under coverage.py. | |
| 96 | 97 | # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files. | |
| 98 | + - export PYTHONPATH= | ||
| 97 | 99 | - source ./venv/bin/activate | |
| 98 | 100 | - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml | |
| 99 | 101 | - name: "Test code coverage (C)" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments