Skip to content

Commit 8daddce

Browse files
Update ci.yml
1 parent 4da9701 commit 8daddce

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on:
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8+
env:
9+
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
810
steps:
911
- uses: actions/checkout@v4
1012
- uses: actions/setup-python@v5
1113
with:
1214
python-version: "3.11"
13-
1415
- name: Install pytest only
1516
run: |
1617
python -m pip install --upgrade pip
1718
pip install pytest==8.3.3
18-
1919
- name: Show repo and test file
2020
run: |
2121
python -V
@@ -24,11 +24,5 @@ jobs:
2424
ls -la tests || true
2525
echo "--- test file content ---"
2626
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-
3227
- name: Run just this file
33-
run: |
34-
pytest -vv tests/test_ci.py
28+
run: pytest -vv tests/test_ci.py

0 commit comments

Comments
 (0)