mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-19 15:32:08 +02:00
Test only with oldest OTP supported, newest stable and bleeding edge
This commit is contained in:
parent
fbfcebf417
commit
64e1cfcbba
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['20.0', '21.3', '24.3', '25', '26.0-rc1']
|
otp: ['20.0', '25.3', '26.0-rc2']
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Test shell scripts
|
- name: Test shell scripts
|
||||||
if: matrix.otp == 25
|
if: matrix.otp == '25.3'
|
||||||
run: |
|
run: |
|
||||||
shellcheck test/ejabberd_SUITE_data/gencerts.sh
|
shellcheck test/ejabberd_SUITE_data/gencerts.sh
|
||||||
shellcheck tools/captcha.sh
|
shellcheck tools/captcha.sh
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
shellcheck -x ejabberdctl.template
|
shellcheck -x ejabberdctl.template
|
||||||
|
|
||||||
- name: Get specific Erlang/OTP
|
- name: Get specific Erlang/OTP
|
||||||
if: matrix.otp != 25
|
if: matrix.otp != '25.3'
|
||||||
uses: erlef/setup-beam@v1
|
uses: erlef/setup-beam@v1
|
||||||
with:
|
with:
|
||||||
otp-version: ${{ matrix.otp }}
|
otp-version: ${{ matrix.otp }}
|
||||||
@ -124,7 +124,7 @@ jobs:
|
|||||||
key: ${{matrix.otp}}-${{hashFiles('rebar.config')}}
|
key: ${{matrix.otp}}-${{hashFiles('rebar.config')}}
|
||||||
|
|
||||||
- name: Download test logs
|
- name: Download test logs
|
||||||
if: matrix.otp == 25 && github.repository == 'processone/ejabberd'
|
if: matrix.otp == '25.3' && github.repository == 'processone/ejabberd'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
mkdir -p _build/test
|
mkdir -p _build/test
|
||||||
@ -149,7 +149,7 @@ jobs:
|
|||||||
- run: make options
|
- run: make options
|
||||||
- run: make xref
|
- run: make xref
|
||||||
- run: make dialyzer
|
- run: make dialyzer
|
||||||
if: matrix.otp != '26.0-rc1'
|
if: matrix.otp != '26.0-rc2'
|
||||||
|
|
||||||
- name: Check Production Release
|
- name: Check Production Release
|
||||||
run: |
|
run: |
|
||||||
@ -205,7 +205,7 @@ jobs:
|
|||||||
find logs/ -name exunit.log -exec cat '{}' ';'
|
find logs/ -name exunit.log -exec cat '{}' ';'
|
||||||
|
|
||||||
- name: Send to coveralls
|
- name: Send to coveralls
|
||||||
if: matrix.otp == 25
|
if: matrix.otp == '25.3'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
5
.github/workflows/runtime.yml
vendored
5
.github/workflows/runtime.yml
vendored
@ -31,8 +31,11 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['19.3', '20.3', '24.3', '25']
|
otp: ['20.3', '25.3', '26']
|
||||||
rebar: ['rebar', 'rebar3']
|
rebar: ['rebar', 'rebar3']
|
||||||
|
exclude:
|
||||||
|
- otp: '26'
|
||||||
|
rebar: 'rebar'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: erlang:${{ matrix.otp }}
|
image: erlang:${{ matrix.otp }}
|
||||||
|
Loading…
Reference in New Issue
Block a user