mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
move unit tests from image build to contrainer run
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# run unit tests
|
||||
echo "[+] running unit tests"
|
||||
sudo /bin/sh -c 'GOPATH=/go /usr/local/go/bin/go test ./...'
|
||||
|
||||
# run integration test
|
||||
sudo cron -f &
|
||||
sleep 1
|
||||
sudo ps | grep cron 1>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user