Skip to content

Commit f503dde

Browse files
committed
ci: reduce complexity of invoking pytest
1 parent d1f2705 commit f503dde

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ jobs:
160160
161161
- name: Run tests
162162
run: |
163-
mkdir build
164-
cd build
165-
pytest -vv ../tests -c ../pyproject.toml
163+
pytest
166164
167165
- name: Upload test reports
168166
if: always()

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ src = "labextension/package.json"
182182

183183
[tool.pytest.ini_options]
184184
cache_dir = "build/.cache/pytest"
185+
testpaths = ["tests"]
185186
addopts = [
186187
"-vv",
187188
"--cov=jupyter_server_proxy",

0 commit comments

Comments
 (0)