Skip to content

fix tests

fix tests #108

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}}
container:
image: erlang:${{matrix.otp_vsn}}
strategy:
matrix:
otp_vsn: ["19.0", "19.3",
"20.0", "20.1.7", "20.3.8.22",
"21.0.9", "21.1.4", "21.2.7", "21.3.8.1",
"22.0.7", "22.2.8", "22.3.4",
"23.0.2", "23.2"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- 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: ./support/rebar3 xref
- run: ./support/rebar3 eunit
- run: ./support/rebar3 dialyzer