Skip to content

Commit

Permalink
CI: Test also with Erlang/OTP 27; use major version number, let it pi…
Browse files Browse the repository at this point in the history
…ck latest
  • Loading branch information
badlop committed Jun 11, 2024
1 parent e05e7f8 commit 7517a4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
otp: ['21.3', '25.3', '26']
otp: [21, 25, 26, 27]
runs-on: ubuntu-22.04
container:
image: erlang:${{ matrix.otp }}
Expand All @@ -39,7 +39,7 @@ jobs:
path: .ejabberd-modules/sources/ejabberd-contrib

- name: Get a compatible Rebar3
if: matrix.otp <= '21.3'
if: matrix.otp <= 21
run: |
rm rebar3
wget https://github.com/processone/ejabberd/raw/21.12/rebar3
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
run: sed -i '/mod_captcha_rust/d' modules_available.txt

- name: Disable mod_s3_upload testing with old OTP
if: matrix.otp < '25'
if: matrix.otp < 25
run: sed -i '/mod_s3_upload/d' modules_available.txt

- name: Install modules
Expand Down

0 comments on commit 7517a4f

Please sign in to comment.