chore(CI): run test only on Ubuntu

This commit is contained in:
Fardale 2021-01-25 18:49:52 +01:00
parent 663416b350
commit a6318949f6

View file

@ -24,9 +24,9 @@ jobs:
- run: opam depext -yt containers containers-data containers-thread - run: opam depext -yt containers containers-data containers-thread
if: steps.cache-opam.outputs.cache-hit != 'true' if: steps.cache-opam.outputs.cache-hit != 'true'
- run: opam install -t . --deps-only - 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 - 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 build
- run: opam exec -- dune runtest - run: opam exec -- dune runtest
if: ${{ matrix.os != 'windows-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}