From d6d2ed647a02d2421e23eceb3f52e26c1077836f Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Fri, 6 Oct 2023 22:02:05 +0200 Subject: [PATCH 1/2] add codecov --- .github/workflows/tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bcd861e..4df9804 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,8 +53,7 @@ jobs: - name: Execute tests - coverage threshold 90% run: ./vendor/bin/pest --bail --retry --coverage --min=90 --coverage-clover clover.xml - - name: Create coverage badge - uses: coverallsapp/github-action@v2 - with: - format: clover - file: clover.xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 78fe6a5384ed16f937f9a4dc8fa7275279865605 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Fri, 6 Oct 2023 22:40:34 +0200 Subject: [PATCH 2/2] wip --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 572b59a..d17c6db 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Extendible workspace configurator for Laravel to effortlessly keep linters, fixe [![codestyle](https://github.com/media-code/workspace/actions/workflows/codestyle.yml/badge.svg)](https://github.com/media-code/workspace/actions/workflows/codestyle.yml) [![tests](https://github.com/media-code/workspace/actions/workflows/tests.yml/badge.svg)](https://github.com/media-code/workspace/actions/workflows/tests.yml) -[![coverage](https://coveralls.io/repos/github/media-code/workspace/badge.svg)](https://coveralls.io/github/media-code/workspace) +[![coverage](https://codecov.io/gh/media-code/workspace/graph/badge.svg?token=ON4MTY8C1B)](https://codecov.io/gh/media-code/workspace) ## Install Workspace in your project