From b02143c74b454a148d72f4e2fa1b1f4fb30b291a Mon Sep 17 00:00:00 2001 From: Michael Crumm Date: Wed, 29 Apr 2020 08:22:14 -0700 Subject: [PATCH] add platform to matrix --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60de877a..748d9959 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,10 @@ jobs: name: mix test (OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}}) strategy: matrix: + platform: [ubuntu-latest, windows-latest] otp: [21.x, 22.x] elixir: [1.7.x, 1.8.x, 1.9.x, 1.10.x] - runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v1 - uses: actions/setup-elixir@v1.2.0 @@ -30,7 +31,10 @@ jobs: npm_test: name: npm test - runs-on: [ubuntu-latest, windows-latest] + strategy: + matrix: + platform: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v1 - uses: actions/setup-elixir@v1.2.0