Skip to content

Commit

Permalink
update github template
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Oct 9, 2023
1 parent 1197b58 commit 06709fd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,27 @@ 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",
otp_vsn: ["20.3", "21.3", "22.2"
"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"]
rebar3: ["3.22.1"]
os: [ubuntu-latest]
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: ./support/rebar3 xref
- run: ./support/rebar3 eunit
- run: ./support/rebar3 dialyzer
- run: rebar3 xref
- run: rebar3 eunit
- run: rebar3 dialyzer

0 comments on commit 06709fd

Please sign in to comment.