Skip to content

Commit a391641

Browse files
committed
refactor: move tests from test/ to tests/ with an s
1 parent 466464f commit a391641

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+9
-9
lines changed

.github/workflows/matrix-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
run: |
2727
pip install -e .[all]
2828
- name: Run tests
29-
run: cd test && python run.py prod
29+
run: cd tests && python run.py prod

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
3232
- name: Run tests
3333
run: |
34-
cd test
34+
cd tests
3535
coverage run --parallel-mode run.py prod
3636
DEVELOPMENT=1 coverage run --parallel-mode test_web_api.py
3737
coverage combine
3838
coverage xml
3939
40-
- run: cd test && coverage report
40+
- run: cd tests && coverage report
4141

4242
- name: Make sure pre-commit hooks pass
4343
uses: pre-commit/action@v3.0.1
@@ -52,7 +52,7 @@ jobs:
5252

5353
- uses: codecov/codecov-action@v4
5454
with:
55-
directory: ./test
55+
directory: ./tests
5656
token: ${{ secrets.CODECOV_TOKEN }} # optional but apparently makes upload more reliable
5757
fail_ci_if_error: false # too many upload errors to keep "true"
5858

@@ -107,7 +107,7 @@ jobs:
107107
pip install -e .[all]
108108
109109
- name: Run tests on Windows
110-
run: cd test && python run.py prod
110+
run: cd tests && python run.py prod
111111

112112
- name: Make sure the CLI outputs utf8 on Windows
113113
# Note: we're checking something CLI specific, from a prompt, so we don't want to run
@@ -119,8 +119,8 @@ jobs:
119119
echo Output ====
120120
cat cs.readalong
121121
echo Reference ====
122-
cat test/data/cs-ref.readalong
123-
if (diff (cat cs.readalong) (cat test/data/cs-ref.readalong)) { throw "Output did not match reference" }
122+
cat tests/data/cs-ref.readalong
123+
if (diff (cat cs.readalong) (cat tests/data/cs-ref.readalong)) { throw "Output did not match reference" }
124124
125125
test-heroku-env:
126126
runs-on: ubuntu-24.04
@@ -153,4 +153,4 @@ jobs:
153153
- name: unit test the web API
154154
run: |
155155
pip install httpx
156-
python test/test_web_api.py
156+
python tests/test_web_api.py

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)