fix tests #113
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: 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 |