Skip to content

Commit

Permalink
Optomize sending coverage reports to Codecov (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Mar 8, 2021
1 parent 62f0e5f commit 3cd98a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yml
Expand Up @@ -74,6 +74,8 @@ jobs:
- "2.8"
steps:
- uses: "actions/checkout@v2"
with:
fetch-depth: 2
- uses: "actions/setup-python@v2"
with:
python-version: "${{ matrix.python-version }}"
Expand All @@ -91,3 +93,6 @@ jobs:
run: "composer dev:test:coverage:ci -- --coverage-text"
- name: "Publish coverage report to Codecov"
uses: "codecov/codecov-action@v1"
if: ${{ matrix.python-version==3.9 && matrix.php-version==8.0 }}
with:
name: "php-${{ matrix.php-version }}-composer-${{ matrix.composer-dependencies }}-python-${{ matrix.python-version }}-pygments-${{ matrix.pygments-version }}"

0 comments on commit 3cd98a7

Please sign in to comment.