From e40156da849bcac6143fb828b60dd1f013858f03 Mon Sep 17 00:00:00 2001 From: Mathieu Ducrot Date: Fri, 25 Jun 2021 08:24:16 +0200 Subject: [PATCH] #2 Setup Codecov for coverage --- .github/workflows/ci.yml | 9 ++++++--- phpunit.xml | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e5d06b..44beee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,9 @@ jobs: - name: Qualimetry run: make qa - # โ€”โ€” Test ๐Ÿงช โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” - - name: Phpunit test and coverage - run: make phpunit-coverage + # โ€”โ€” Tests ๐Ÿงช โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” + - name: Phpunit tests + run: make phpunit + + - name: "Upload coverage to Codecov" + uses: codecov/codecov-action@v1 diff --git a/phpunit.xml b/phpunit.xml index 99ad480..79397d7 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -22,4 +22,7 @@ ./src/SmartParameterBundle.php + + +