Merge pull request #7 from thalesmg/fix-append-content-type #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: make compile | |
- name: eunit | |
run: make eunit | |
- name: start azurite | |
run: test/start_azurite.sh | |
- name: ct | |
run: make ct | |
env: | |
AZURITE_ENDPOINT: "http://127.0.0.1:10000/" |