From 0e1f4cec04b3403c7b64fe957501878a8034a406 Mon Sep 17 00:00:00 2001 From: Sebastian Weddmark Olsson Date: Thu, 28 Nov 2024 00:20:47 +0100 Subject: [PATCH] matrix of objects --- .github/workflows/test.yaml | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 918f4f67..39d271fa 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,28 +29,25 @@ jobs: # OTP-18) REBAR3_VERSION="3.11.1" # OTP-17) REBAR3_VERSION="3.10.0" - test_r3_3_16_1: + test: runs-on: ubuntu-20.04 name: OTP ${{matrix.otp}} - strategy: - matrix: - otp: [22.3.4.9, 23.3.4.5, 24.3.3] env: emacs: 27.1 - rebar3: 3.16.1 - - # test_r3_3_22_1: - # runs-on: ubuntu-20.04 - # name: OTP ${{matrix.otp}} - # strategy: - # matrix: - # otp: [25.3, 26.3, 27.0] - # env: - # emacs: 27.1 - # rebar3: 3.22.1 - - test: - needs: [test_r3_3_16_1] + strategy: + matrix: + - otp: "22.3.4.9" + rebar3: "3.16.1" + - otp: "23.3.4.5" + rebar3: "3.16.1" + - otp: "24.3.3" + rebar3: "3.16.1" + - otp: "25.3.3" + rebar3: "3.22.1" + - otp: "26.5.3" + rebar3: "3.22.1" + - otp: "27.3.3" + rebar3: "3.22.1" steps: - name: Install Emacs uses: purcell/setup-emacs@master @@ -62,7 +59,7 @@ jobs: uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} - rebar3-version: ${{env.rebar3}} + rebar3-version: ${{matrix.rebar3}} install-hex: false - name: Add Erlang to Path