[ci] Only run coverage test on one platform.
@@ -105,14 +105,16 @@ jobs:
env:
CC: clang
CXX: clang++
- if: matrix.os == 'macos-latest'
+ BAZEL_BUILD_OPTS: --config=ci
+ if: ${{ ! (matrix.os == 'ubuntu-latest' && matrix.python == 3.9) }}
- name: Test with coverage
run: make install-test-cov
env:
CC: clang
CXX: clang++
- if: matrix.os == 'ubuntu-latest'
+ BAZEL_BUILD_OPTS: --config=ci
+ if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == 3.9 }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
