From a0fb3424aad2901181966df12f7e725185a32975 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 6 Jun 2020 13:01:53 -0400 Subject: [PATCH] more codecov experiments --- .github/workflows/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 755bb6ac0..8145bc7f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,10 +49,10 @@ jobs: pip install -e .[test] - env: HOME: /tmp - run: | - coverage run -m unittest -vv tests.unit.test_conf - bash <(curl -s https://codecov.io/bash) + run: coverage run -m unittest -vv tests.unit.test_conf # run: coverage run -m unittest discover -vv tests.unit + - if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac') + run: bash <(curl -s https://codecov.io/bash) -X gcov -F unit-${{ matrix.os }} tests-integration: name: "tests / integration" @@ -88,7 +88,9 @@ jobs: - run: pip install tox-travis - env: TEST_DB: ${{ matrix.db }} - run: tox -e ${{ matrix.test }} + run: | + tox -e ${{ matrix.test }} + bash <(curl -s https://codecov.io/bash) -X gcov -F integration-${{ matrix.test }}-${{ matrix.db }} build: needs: ["lint", "tests-unit", "tests-integration"]