From a838ef960f1bbd0b82b05ad23118a03f69316a26 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 27 Dec 2020 18:56:26 +0300 Subject: add tests --- .github/workflows/main.yml | 12 ++++++++++++ Makefile | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 Makefile 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 -- cgit v1.2.3