
``` curl --silent https://packages.debian.org/search?keywords=erlang | \ sed -ne '/Package erlang</,/<\/ul>/{/<\/a>/p; /br/p}' | \ sed -e 's/<a.*$//' | \ perl -0777 -pE 's/<li class="(\w+)">\n/$1/g; s/<br>([^\s]+)/$1/g; s/\+.*(?=\n)//g' | \ sed -e '1i name otp-version' | \ column -t name otp-version buster 1:22.2.7 bullseye 1:23.2.6 bookworm 1:25.2.3 trixie 1:25.3.2.12 sid 1:25.3.2.12 experimental 1:27.0 ```
31 lines
591 B
YAML
31 lines
591 B
YAML
name: Integration tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'master'
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
build:
|
|
name: OTP ${{ matrix.otp_version }} on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
container:
|
|
image: erlang:${{matrix.otp_version}}
|
|
|
|
strategy:
|
|
matrix:
|
|
otp_version: ['27.0', '25.3', '25.2', '23.2']
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Compile
|
|
run: rebar3 compile
|
|
- name: Dialyzer
|
|
run: rebar3 as test dialyzer
|
|
- name: EUnit
|
|
run: TERM=xterm rebar3 eunit
|