Replace the custom test runners with pytest.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
cb00a29311
commit
564fc0e527
12 changed files with 12 additions and 269 deletions
9
.github/workflows/zulip-tests.yml
vendored
9
.github/workflows/zulip-tests.yml
vendored
|
@ -52,13 +52,14 @@ jobs:
|
|||
name: Running Test-Suite on Linux
|
||||
run: |
|
||||
source zulip-api-py3-venv/bin/activate
|
||||
tools/test-main
|
||||
pytest --cov --cov-config=tools/.coveragerc --cov-report=xml
|
||||
|
||||
- if: runner.os == 'Windows'
|
||||
name: Running Test-Suite on Windows
|
||||
run: |
|
||||
zulip-api-py3-venv\Scripts\Activate.ps1
|
||||
tools\test-main.ps1
|
||||
pytest --cov --cov-config=tools\.coveragerc --cov-report=xml
|
||||
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1.2.1
|
||||
- uses: codecov/codecov-action@v2
|
||||
with:
|
||||
files: coverage.xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue