diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5953fe..89d099f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,13 @@ on: jobs: linux: runs-on: ubuntu-latest - name: Linux ${{ matrix.elixir }}, ${{ matrix.otp }} + name: Linux ${{ matrix.elixir }}, ${{ matrix.otp }}, Nx ${{ matrix.nx }} strategy: + fail-fast: false matrix: elixir: ["1.17.3"] otp: ["27.1.2"] + nx: ["locked", "latest"] env: MIX_ENV: test steps: @@ -23,8 +25,13 @@ jobs: # (new cargo build-dir layout). Remove once ort is upgraded. - name: Pin Rust 1.99 run: rustup toolchain install 1.99.1 --profile minimal && rustup default 1.99.1 + # The dev-only exla/torchx 0.6 still require Nx 0.6, so only the test + # dependencies are updated and fetched. + - name: Update Nx to the newest release + if: matrix.nx == 'latest' + run: mix deps.update nx --only test - name: Install dependencies - run: mix deps.get + run: mix deps.get --only test - name: Compile and check warnings run: mix compile --warnings-as-errors - name: Check formatting