Skip to content

Commit e400c52

Browse files
committed
fix(ci): fix tests in ci
1 parent e3303c8 commit e400c52

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/matrix-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
run: |
3030
pip install -e .[all]
3131
- name: Run tests
32-
run: cd tests && python run.py prod
32+
run: python run_tests.py prod

.github/workflows/tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
3333
- name: Run tests
3434
run: |
35-
cd tests
36-
coverage run --parallel-mode run.py prod
37-
DEVELOPMENT=1 coverage run --parallel-mode test_web_api.py
35+
coverage run --parallel-mode run_tests.py prod
36+
DEVELOPMENT=1 coverage run --parallel-mode -m tests.test_web_api
3837
coverage combine
3938
coverage xml
4039
@@ -109,7 +108,7 @@ jobs:
109108
pip install -e .[all]
110109
111110
- name: Run tests on Windows
112-
run: cd tests && python run.py prod
111+
run: python run_tests.py prod
113112

114113
- name: Make sure the CLI outputs utf8 on Windows
115114
# Note: we're checking something CLI specific, from a prompt, so we don't want to run

0 commit comments

Comments
 (0)