Skip to content

Commit 47a9ba8

Browse files
authored
Merge pull request #429 from online-judge-tools/fix/pytest
Use pytest instead of python setup.py
2 parents 7fe20ea + 56e528c commit 47a9ba8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
test:
1111
strategy:
12+
fail-fast: false
1213
matrix:
1314
os: [ubuntu-latest, windows-latest, macos-latest]
1415

@@ -27,7 +28,8 @@ jobs:
2728

2829
- name: Run tests
2930
run: |
31+
pip install pytest
3032
unset GITHUB_ACTION
3133
oj-verify -h
32-
python setup.py test
34+
pytest
3335
shell: bash

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ ENV/
77
env.bak/
88
venv.bak/
99

10+
# Python
1011
__pycache__
12+
build/

0 commit comments

Comments
 (0)