From 0d18b4c9b9b973bbc6fbce8d9d4152d0346e39eb Mon Sep 17 00:00:00 2001 From: Neil Brayfield Date: Tue, 21 Sep 2021 14:31:53 +0100 Subject: [PATCH 1/3] Try codecov --- .github/workflows/test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc9633c..b761bad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,10 @@ jobs: - name: Run tests run: xvfb-run -a npm test - - name: Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Codecov + uses: codecov/codecov-action@v2 + + # - name: Coveralls + # uses: coverallsapp/github-action@master + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} From 8891276b7d02e6b95593ac9ced8373c7dfc121ea Mon Sep 17 00:00:00 2001 From: Neil Brayfield Date: Tue, 21 Sep 2021 15:06:07 +0100 Subject: [PATCH 2/3] Add configuration and update README.md --- CHANGELOG.md | 1 + README.md | 2 +- codecov.yml | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index a7b7e06..7a03d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ All notable changes to the "php-docblocker" extension will be documented in this - Make tests run on push and PR sychronize only - Convert `updateChangelog.js` script to use typescript - Add script to generate the table of tags for the README.md +- Migrate to codecov due to coveralls outage ## [2.4.0] - 2021-09-05 - Add support for params which have a trailing comma diff --git a/README.md b/README.md index c8d6440..ec80015 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PHP DocBlocker -[![Latest Release](https://vsmarketplacebadge.apphb.com/version-short/neilbrayfield.php-docblocker.svg)](https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker) [![Installs](https://vsmarketplacebadge.apphb.com/installs/neilbrayfield.php-docblocker.svg)](https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/neilbrayfield.php-docblocker.svg)](https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker) [![Test Suite](https://github.com/neild3r/vscode-php-docblocker/actions/workflows/test.yml/badge.svg)](https://github.com/neild3r/vscode-php-docblocker/actions/workflows/test.yml) [![Coverage status](https://coveralls.io/repos/github/neild3r/vscode-php-docblocker/badge.svg)](https://coveralls.io/github/neild3r/vscode-php-docblocker) +[![Latest Release](https://vsmarketplacebadge.apphb.com/version-short/neilbrayfield.php-docblocker.svg)](https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker) [![Installs](https://vsmarketplacebadge.apphb.com/installs/neilbrayfield.php-docblocker.svg)](https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/neilbrayfield.php-docblocker.svg)](https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker) [![Test Suite](https://github.com/neild3r/vscode-php-docblocker/actions/workflows/test.yml/badge.svg)](https://github.com/neild3r/vscode-php-docblocker/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/neild3r/vscode-php-docblocker/branch/master/graph/badge.svg?token=w74Vbd2tHQ)](https://codecov.io/gh/neild3r/vscode-php-docblocker) Basic PHP DocBlocking extension. diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..f9b5d64 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,9 @@ +coverage: + status: + patch: + default: + target: 100% + +comment: + layout: "diff, flags, files" + require_changes: true \ No newline at end of file From 44bb7ca9a41ab4f90b1c977105513f1e0feb4cd1 Mon Sep 17 00:00:00 2001 From: Neil Brayfield Date: Tue, 21 Sep 2021 15:33:07 +0100 Subject: [PATCH 3/3] Add line at end of file --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index f9b5d64..fc3cd87 100644 --- a/codecov.yml +++ b/codecov.yml @@ -6,4 +6,4 @@ coverage: comment: layout: "diff, flags, files" - require_changes: true \ No newline at end of file + require_changes: true