mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-23 18:13:41 +00:00
try to get test results loaded into circleci
This commit is contained in:
parent
5c22bf95b4
commit
7bc1f9300f
@ -170,9 +170,17 @@ jobs:
|
||||
python misc/build_helpers/show-tool-versions.py
|
||||
|
||||
- "run":
|
||||
name: "Run Unit Tests"
|
||||
name: "Install Dependencies"
|
||||
command: |
|
||||
python -m tox -e py311-coverage
|
||||
python -m pip install .[testenv] .[test]
|
||||
|
||||
- "run":
|
||||
name: "Run Unit Tests"
|
||||
environment:
|
||||
SUBUNITREPORTER_OUTPUT_PATH: "test-results.subunit2"
|
||||
PYTHONUNBUFFERED: "1"
|
||||
command: |
|
||||
python -b -m coverage run -m twisted.trial --reporter=subunitv2-file --rterrors allmydata
|
||||
|
||||
- "run":
|
||||
name: "Upload Coverage"
|
||||
@ -182,6 +190,14 @@ jobs:
|
||||
python -m pip install coveralls
|
||||
python -m coveralls
|
||||
|
||||
- "run":
|
||||
name: "Convert Result Log"
|
||||
command: |
|
||||
Get-Content -Path test-results.subunit2 -Raw | subunit2junitxml | Out-File -FilePath test-results.xml
|
||||
|
||||
- "store_artifacts":
|
||||
path: "test-results.xml"
|
||||
|
||||
pyinstaller:
|
||||
docker:
|
||||
- <<: *DOCKERHUB_AUTH
|
||||
|
Loading…
x
Reference in New Issue
Block a user