From a6318949f679f57991403a6d4ecd9f0c19de620a Mon Sep 17 00:00:00 2001 From: Fardale Date: Mon, 25 Jan 2021 18:49:52 +0100 Subject: [PATCH] chore(CI): run test only on Ubuntu --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 070c9ba8..c8b5225f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,9 +24,9 @@ jobs: - run: opam depext -yt containers containers-data containers-thread if: steps.cache-opam.outputs.cache-hit != 'true' - run: opam install -t . --deps-only - if: ${{ matrix.os != 'windows-latest' }} and ${{ steps.cache-opam.outputs.cache-hit != 'true' }} + if: ${{ matrix.os == 'ubuntu-latest' }} and ${{ steps.cache-opam.outputs.cache-hit != 'true' }} - run: opam install . --deps-only # no test deps - if: ${{ matrix.os == 'windows-latest' }} and ${{ steps.cache-opam.outputs.cache-hit != 'true' }} + if: ${{ matrix.os != 'ubuntu-latest' }} and ${{ steps.cache-opam.outputs.cache-hit != 'true' }} - run: opam exec -- dune build - run: opam exec -- dune runtest - if: ${{ matrix.os != 'windows-latest' }} + if: ${{ matrix.os == 'ubuntu-latest' }}