From 8c64ce67fc27c86c35a0070d39024df7b23c33c3 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 14 Feb 2024 21:27:00 +0100 Subject: [PATCH] CI/Runtime: Test also with the new Erlang/OTP 27.0-rc1 --- .github/workflows/ci.yml | 9 ++++----- .github/workflows/runtime.yml | 10 +++++++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b7e46a48..815780cf6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - otp: ['20.0', '25.3', '26.1'] + otp: ['20.0', '25', '26', '27.0-rc1'] runs-on: ubuntu-20.04 services: redis: @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - name: Test shell scripts - if: matrix.otp == '25.3' + if: matrix.otp == '26' run: | shellcheck test/ejabberd_SUITE_data/gencerts.sh shellcheck tools/captcha.sh @@ -46,7 +46,6 @@ jobs: shellcheck -x ejabberdctl.template - name: Get specific Erlang/OTP - if: matrix.otp != '25.3' uses: erlef/setup-beam@v1 with: otp-version: ${{ matrix.otp }} @@ -111,7 +110,7 @@ jobs: key: ${{matrix.otp}}-${{hashFiles('rebar.config')}} - name: Download test logs - if: matrix.otp == '25.3' && github.repository == 'processone/ejabberd' + if: matrix.otp == '26' && github.repository == 'processone/ejabberd' continue-on-error: true run: | mkdir -p _build/test @@ -191,7 +190,7 @@ jobs: find logs/ -name exunit.log -exec cat '{}' ';' - name: Send to coveralls - if: matrix.otp == '25.3' + if: matrix.otp == '26' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 587adb71f..5835fc3a7 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - otp: ['20.3', '25.3', '26'] + otp: ['20', '25', '26', '27'] rebar: ['rebar', 'rebar3'] runs-on: ubuntu-22.04 container: @@ -149,7 +149,7 @@ jobs: strategy: fail-fast: false matrix: - otp: ['23.0', '25.3', '26'] + otp: ['23.0', '25', '26', '27.0-rc1'] elixir: ['1.13.4', '1.15.7', '1.16'] exclude: - otp: '23.0' @@ -158,6 +158,8 @@ jobs: elixir: '1.16' - otp: '26' elixir: '1.13.4' + - otp: '27.0-rc1' + elixir: '1.13.4' runs-on: ubuntu-20.04 steps: @@ -282,7 +284,7 @@ jobs: strategy: fail-fast: false matrix: - otp: ['23.0', '25.3', '26'] + otp: ['23.0', '25', '26', '27.0-rc1'] elixir: ['1.13.4', '1.15.7', '1.16'] exclude: - otp: '23.0' @@ -291,6 +293,8 @@ jobs: elixir: '1.16' - otp: '26' elixir: '1.13.4' + - otp: '27.0-rc1' + elixir: '1.13.4' runs-on: ubuntu-20.04 steps: