Skip to content

Commit

Permalink
actions with script
Browse files Browse the repository at this point in the history
  • Loading branch information
punkdata committed Feb 16, 2019
1 parent 2736c6e commit 1ddac06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/build_test.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 1ddac06

Please sign in to comment.