From 210069b8c75fdef76fbdd9ff9971ffd1a22e9861 Mon Sep 17 00:00:00 2001 From: Jeff Kreeftmeijer Date: Wed, 19 Jun 2024 14:04:46 +0200 Subject: [PATCH] Add test_no_nif to matrix --- .github/workflows/ci.yaml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index af201854..3c2304e5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,22 +53,6 @@ jobs: - name: Run tests run: LANGUAGE=elixir test/integration/diagnose/bin/test - test_no_nif: - runs-on: ubuntu-latest - - steps: - - name: Set up Erlang and Elixir - uses: erlef/setup-beam@v1 - with: - otp-version: master - elixir-version: main - - name: Checkout code - uses: actions/checkout@v4 - - name: Get dependencies - run: mix deps.get - - name: Run tests - run: MIX_ENV=test_no_nif mix test - test: runs-on: ubuntu-latest strategy: @@ -79,9 +63,13 @@ jobs: - 27.x - 26.x - 25.x + env: test include: - elixir: main otp: master + - elixir: main + otp: master + env: test_no_nif - elixir: 1.16.x otp: 26.x - elixir: 1.15.x @@ -106,4 +94,4 @@ jobs: - name: Get dependencies run: mix deps.get - name: Run tests - run: mix test + run: MIX_ENV=${{matrix.env}} mix test