aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..421cfb2
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,20 @@
+name: "CI"
+on: [push, pull_request]
+jobs:
+ build:
+ name: build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Setup BATS
+ uses: mig4/setup-bats@master
+ with:
+ bats-version: 1.1.0
+
+ - name: Check out code
+ uses: actions/checkout@v1
+
+ - name: shellcheck
+ uses: ludeeus/action-shellcheck@0.1.0
+
+ - name: Test
+ run: cd tests && bats *.bats \ No newline at end of file