Skip to content

Commit

Permalink
add pytest parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
HowcanoeWang committed Aug 20, 2024
1 parent aba5c02 commit 9a5e8d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
pip install -r requirements/test.txt
- name: Run pytest
run: |
pytest
pytest -n auto
2 changes: 1 addition & 1 deletion easyidp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.0.0"
__version__ = "2.0.1"

import os
import sys
Expand Down
3 changes: 2 additions & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pytest>=7.1.2 # fix pytest init error
oss2 >= 2.18.6 # support AliYun OSS downloading
oss2 >= 2.18.6 # support AliYun OSS downloading
pytest-xdist >= 3.6.1 # support parallel pytest

0 comments on commit 9a5e8d4

Please sign in to comment.