mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
ci(package): output result of test instead of just failing
This commit is contained in:
parent
90bc5848a1
commit
ec9a770f5b
1 changed files with 3 additions and 1 deletions
4
.github/workflows/package-pr.yaml
vendored
4
.github/workflows/package-pr.yaml
vendored
|
@ -123,7 +123,9 @@ jobs:
|
|||
do
|
||||
TEST_RUNTIME=$(awk -F. '{print $2}' <<< $(basename $tscript))
|
||||
echo Running $tscript with runtime=$TEST_RUNTIME
|
||||
docker run --network container:api -v "$PWD/cli:/app" -v "$PWD/$(dirname $tscript):/pkg" node:15 /app/index.js run $TEST_RUNTIME $PKG_VERSION /pkg/$(basename $tscript) | grep OK
|
||||
docker run --network container:api -v "$PWD/cli:/app" -v "$PWD/$(dirname $tscript):/pkg" node:15 /app/index.js run $TEST_RUNTIME $PKG_VERSION /pkg/$(basename $tscript) > test_output
|
||||
cat test_output
|
||||
grep "OK" test_output
|
||||
done
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue