From 4ac67a75187c5798193c3b4cd16ac5d00817c7bb Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Fri, 24 Jul 2020 09:58:17 -0400 Subject: [PATCH] chore(ci): fix bad test logic --- .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 5081ff2e..6dcefc52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,9 +16,9 @@ jobs: - run: opam pin -n . - run: opam depext -yt containers containers-data containers-thread - run: opam install -t . --deps-only - if: ${{ job.os == 'Linux' }} + if: ${{ matrix.operating-system == 'ubuntu-latest' }} - run: opam install . --deps-only # no test deps - if: ${{ job.os != 'Linux' }} + if: ${{ matrix.operating-system != 'ubuntu-latest' }} - run: opam exec -- dune build - run: opam exec -- dune runtest - if: ${{ job.os == 'Linux' }} + if: ${{ matrix.operating-system == 'ubuntu-latest' }}