Skip to content

Commit

Permalink
Add tests to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenp committed Jun 5, 2024
1 parent 7592a3f commit 122f1bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_keras_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
run: |
python -m unittest discover tests/keras_tests/pruning_tests -v
python -m unittest discover tests/keras_tests/non_parallel_tests -v
for script in tests/keras_tests/exporter_tests tests/keras_tests/feature_networks_tests tests/keras_tests/graph_tests tests/keras_tests/layer_tests; do python -m unittest discover $script -v & pids+=($!); done; for pid in ${pids[@]}; do wait $pid || exit 1; done
for script in tests/xquant_tests/keras_tests tests/keras_tests/exporter_tests tests/keras_tests/feature_networks_tests tests/keras_tests/graph_tests tests/keras_tests/layer_tests; do python -m unittest discover $script -v & pids+=($!); done; for pid in ${pids[@]}; do wait $pid || exit 1; done
4 changes: 3 additions & 1 deletion .github/workflows/run_pytorch_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
pip install -r requirements.txt
pip install torch==${{ inputs.torch-version }} torchvision onnx onnxruntime
- name: Run unittests
run: python -m unittest discover tests/pytorch_tests -v
run: |
python -m unittest discover tests/xquant_tests/pytorch_tests -v
python -m unittest discover tests/pytorch_tests -v
Expand Down

0 comments on commit 122f1bd

Please sign in to comment.