Skip to content

fix tests

fix tests #113

Workflow file for this run

---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
otp: ["20.3", "21.3", "22.2",
"23.3", "24.3", "25.3"]
rebar3: ["3.16.1"]
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- run: |
apt-get -q update
apt-get -y install python3
apt-get -y install python3-pip
pip3 install httpbin
pip3 install gunicorn
gunicorn -b 127.0.0.1:8000 -b unix:httpbin.sock httpbin:app&
- run: rebar3 xref
- run: rebar3 eunit
- run: rebar3 dialyzer