This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(reg): Fix regression test CI executing errors
Remove errors related git commands, and `1_run_regression_test.sh` which would cause no error message showed in CI even unittest failed in regression test. Since there is importing issue of mudule `numpy`, we should use module `statistics` as alternative solution.
- Loading branch information
Showing
6 changed files
with
22 additions
and
32 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
tests/regression/0_pull_build.sh → tests/regression/0_build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
wait $(ps aux | grep '[r]unner.py' | awk '{print $2}') | ||
kill $(ps aux | grep '[.]/accelerator' | awk '{print $2}') | ||
wait $! | ||
|
||
trap 'exit 0' SIGTERM | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
make | ||
|
||
bazel run //accelerator & | ||
TA_pid=$! | ||
sleep 20 | ||
|
||
pip install --user -r tests/regression/requirements.txt | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
numpy==1.14.2 | ||
requests==2.20.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters