Skip to content

Commit

Permalink
Merge pull request #1 from thalesmg/add-ci
Browse files Browse the repository at this point in the history
ci: add basic ci
  • Loading branch information
thalesmg authored May 8, 2024
2 parents d2864d0 + 69528c1 commit 7749655
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 7 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
strategy:
fail-fast: false
matrix:
otp:
- '26.2'
rebar3:
- '3.23'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: setup erlang
uses: erlef/[email protected]
with:
otp-version: ${{ matrix.otp }}
rebar3-version: ${{ matrix.rebar3 }}
- name: cache hex deps
uses: actions/[email protected]
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
restore-keys: |
${{ runner.os }}-hex-
- name: build
run: rebar3 compile
- name: eunit
run: rebar3 eunit -m erlazure_xml_tests,erlazure_utils_tests,erlazure_queue_tests,erlazure_blob_tests
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 7749655

Please sign in to comment.