aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 18:56:26 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 18:56:26 +0300
commita838ef960f1bbd0b82b05ad23118a03f69316a26 (patch)
treed1e7bfe68a4b11bd634a6f9d8c4d930a3ad8e6ef
parent012318d7beafe23dc807f6b6caba1bf4183f1f5b (diff)
downloadrepository-a838ef960f1bbd0b82b05ad23118a03f69316a26.tar.gz
add tests
-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