chore(ci): fix bad test logic

This commit is contained in:
Simon Cruanes 2020-07-24 09:58:17 -04:00 committed by GitHub
parent 1f1b859ec7
commit 4ac67a7518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,9 +16,9 @@ jobs:
- run: opam pin -n . - run: opam pin -n .
- run: opam depext -yt containers containers-data containers-thread - run: opam depext -yt containers containers-data containers-thread
- run: opam install -t . --deps-only - run: opam install -t . --deps-only
if: ${{ job.os == 'Linux' }} if: ${{ matrix.operating-system == 'ubuntu-latest' }}
- run: opam install . --deps-only # no test deps - 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 build
- run: opam exec -- dune runtest - run: opam exec -- dune runtest
if: ${{ job.os == 'Linux' }} if: ${{ matrix.operating-system == 'ubuntu-latest' }}