From e6104bbe958f9cfd6b148e721dea66e0131c0cef Mon Sep 17 00:00:00 2001 From: Yusuf Taiwo Hassan Date: Fri, 8 Oct 2021 15:47:41 +0100 Subject: [PATCH] Automated Test On Push and PR with github workflow (#68) * Created basic github workflow for running test * Added Push to triggers --- .github/workflows/run-tests.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/run-tests.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..97ab0ba --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,19 @@ +name: Run Tests on Push and PR + +on: [pull_request, push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Elm environment + uses: JorelAli/setup-elm@v3 + with: + elm-version: 0.19.1 + - run: | + mkdir ~/.npm-global + npm config set prefix '~/.npm-global' + PATH=~/.npm-global/bin:$PATH + npm install -g elm-test + elm-test