File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 33 push :
44 pull_request :
55jobs :
6- ok :
6+ test :
77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v4
1010 - uses : actions/setup-python@v5
1111 with :
1212 python-version : " 3.11"
13- - name : Python sanity
13+
14+ - name : Install pytest only
15+ run : |
16+ python -m pip install --upgrade pip
17+ pip install pytest==8.3.3
18+
19+ - name : Show repo and test file
1420 run : |
1521 python -V
16- python - <<'PY'
17- print("python works")
18- PY
22+ ls -la
23+ echo "--- tests dir ---"
24+ ls -la tests || true
25+ echo "--- test file content ---"
26+ test -f tests/test_ci.py && sed -n '1,120p' tests/test_ci.py || echo "tests/test_ci.py is missing"
27+
28+ - name : Collect only this file
29+ run : |
30+ pytest --collect-only -q tests/test_ci.py -vv
31+
32+ - name : Run just this file
33+ run : |
34+ pytest -vv tests/test_ci.py
You can’t perform that action at this time.
0 commit comments