aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml12
-rw-r--r--Makefile5
2 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 00000000..9b94dfc0
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,12 @@
+name: test
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Run tests.
+ run: make test
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..9d803354
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+all:
+ @echo "Run 'make test' in order to run tests."
+
+test:
+ shellcheck -f gcc ./*/*/build ./*/*/post-install ./*/*/test