From 09bd0a89dd80500d99589646a738c45c9537091a Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 13 Nov 2019 22:46:07 +0000 Subject: Run tests on CI --- .github/workflows/ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 243ec60..0ff4c93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,15 +3,21 @@ name: CI on: push: branches: - - '*' + - 'master' + - 'v*.*.*' pull_request: jobs: test: runs-on: ubuntu-latest - container: - image: erlang:22.1 steps: - - uses: actions/checkout@v1 - - run: rebar3 compile + - uses: actions/checkout@v1.0.0 + - uses: gleam-lang/setup-erlang@v1.0.0 + with: + otp-version: 22.1 + - uses: gleam-lang/setup-gleam@v1.0.1 + with: + # gleam-version: 0.4.2 + gleam-version: ref:master + - run: rebar3 install_deps - run: rebar3 eunit -- cgit v1.2.3