aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2019-11-13 22:46:07 +0000
committerLouis Pilfold <louis@lpil.uk>2019-11-25 11:22:45 +0000
commit09bd0a89dd80500d99589646a738c45c9537091a (patch)
tree9e29096c0e0500d49670152d8b9ef48629880701 /.github
parent1d268898e7a870bef24cdf25cbef3c259cce3dd1 (diff)
downloadgleam_stdlib-09bd0a89dd80500d99589646a738c45c9537091a.tar.gz
gleam_stdlib-09bd0a89dd80500d99589646a738c45c9537091a.zip
Run tests on CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml16
1 files 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