diff --git a/.github/build_test.sh b/.github/build_test.sh new file mode 100755 index 0000000..7855548 --- /dev/null +++ b/.github/build_test.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e +set -o pipefail + +pip install --user --no-cache-dir -r requirements.txt +python test_hello_world.py \ No newline at end of file diff --git a/.github/main.workflow b/.github/main.workflow index 5137e99..fe8442f 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -5,7 +5,7 @@ workflow "build_test" { action "build_test01" { uses = "docker://circleci/python:2.7.14" - runs = "python -V" + runs = "./.github/build_test.sh" } # action "run whoami cmd" {