From b615b5a1f34bcd4f18589e91ad9e2137b1d33358 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Mon, 29 Nov 2021 18:44:53 +0200 Subject: [PATCH] [ci] Restore Codecov upload Ii was inadvertently removed in 03392eb. Fixes https://github.com/googlefonts/glyphsLib/issues/752 --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d4af122b..0402481a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,9 +36,20 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: pip install tox + run: pip install tox coverage - name: Test with tox run: tox -e py + - name: Produce coverage files + run: | + coverage combine + coverage xml + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + file: coverage.xml + flags: unittests + name: codecov-umbrella + fail_ci_if_error: true deploy: # only run if the commit is tagged... if: startsWith(github.ref, 'refs/tags/v')