Set parallel work as manually configured option (#58)

This commit is contained in:
Stanley Winata
2022-05-24 15:26:28 -07:00
committed by GitHub
parent 5ece8f6f5d
commit c8fcfd6077
4 changed files with 4 additions and 8 deletions

View File

@@ -30,4 +30,4 @@ jobs:
cd $GITHUB_WORKSPACE
./setup_venv.sh
source shark.venv/bin/activate
pytest
pytest --workers auto

View File

@@ -32,8 +32,8 @@ python -m shark.examples.resnet50_script --device="cpu" # Use gpu | vulkan
```shell
pytest
# If on Mac OS:
pytest -c pytest-mac.ini
# If on Linux for quicker results:
pytest --workers auto
```

View File

@@ -1,4 +0,0 @@
[pytest]
addopts = --verbose -p no:warnings
norecursedirs = inference

View File

@@ -1,4 +1,4 @@
[pytest]
addopts = --workers auto --verbose -p no:warnings
addopts = --verbose -p no:warnings
norecursedirs = inference