From 3b7c78e2afd36d8a1f261d055192e682152505df Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Mon, 25 Nov 2024 15:25:27 +0900 Subject: [PATCH] ci: remove coveritup (#395) --- .github/workflows/coveritup.yml | 76 --------------------------------- README.md | 10 ----- 2 files changed, 86 deletions(-) delete mode 100644 .github/workflows/coveritup.yml diff --git a/.github/workflows/coveritup.yml b/.github/workflows/coveritup.yml deleted file mode 100644 index b052e1c..0000000 --- a/.github/workflows/coveritup.yml +++ /dev/null @@ -1,76 +0,0 @@ -on: - - push - -name: "CoveritUp" - -jobs: - test: - runs-on: ubuntu-latest - - strategy: - matrix: - php: [8.3] - name: PHP ${{ matrix.php }} - - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - - - name: Checkout - uses: actions/checkout@v2 - - - name: Install tools - run: | - curl -sLk https://raw.githubusercontent.com/kevincobain2000/cover-totalizer/master/install.sh | sh - - - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-versions }} - - - name: Install PHP with extensions - uses: shivammathur/setup-php@v2 - with: - coverage: pcov - extensions: intl, gd, zip, pdo, sqlite, pdo_sqlite, dom, curl, libxml, mbstring, fileinfo, exif, iconv - ini-values: memory_limit=-1,disable_functions="",pcov.exclude="~(vendor|tests|node_modules)~",pcov.directory="./" - php-version: ${{ matrix.php }} - tools: composer:v2 - - - name: NPM Install Time - uses: kevincobain2000/action-coveritup@v2 - with: - type: npm-install-time - metric: sec - command: cd ui/; npm install - record: runtime - - - name: Composer Install Time - uses: kevincobain2000/action-coveritup@v2 - with: - type: composer-install-time - metric: sec - command: composer install - record: runtime - - - name: PHPUNIT Tests - uses: kevincobain2000/action-coveritup@v2 - with: - type: phpunit-run-time - metric: sec - command: ./vendor/bin/phpunit --coverage-clover=coverage.xml - record: runtime - - - name: Code Coverage - uses: kevincobain2000/action-coveritup@v2 - with: - type: phpunit-coverage - metric: '%' - command: ./cover-totalizer coverage.xml - - - name: "Comment on PR" - uses: kevincobain2000/action-coveritup@v2 - with: - pr_comment: true - diff_types: phpunit-coverage diff --git a/README.md b/README.md index 2639ea9..fbb5845 100644 --- a/README.md +++ b/README.md @@ -24,16 +24,6 @@ CI PHP

-![npm-install-time](https://coveritup.app/badge?org=rakutentech&repo=laravel-request-docs&branch=master&type=npm-install-time) -![composer-install-time](https://coveritup.app/badge?org=rakutentech&repo=laravel-request-docs&branch=master&type=composer-install-time) -![phpunit-run-time](https://coveritup.app/badge?org=rakutentech&repo=laravel-request-docs&branch=master&type=phpunit-run-time) -![phpunit-coverage](https://coveritup.app/badge?org=rakutentech&repo=laravel-request-docs&branch=master&type=phpunit-coverage) - -![npm-install-time](https://coveritup.app/chart?org=rakutentech&repo=laravel-request-docs&branch=master&type=npm-install-time&theme=light&line=fill&width=150&height=150&output=svg&line=fill) -![composer-install-time](https://coveritup.app/chart?org=rakutentech&repo=laravel-request-docs&branch=master&type=composer-install-time&theme=light&line=fill&width=150&height=150&output=svg&line=fill) -![phpunit-run-time](https://coveritup.app/chart?org=rakutentech&repo=laravel-request-docs&branch=master&type=phpunit-run-time&theme=light&line=fill&width=150&height=150&output=svg&line=fill) -![phpunit-coverage](https://coveritup.app/chart?org=rakutentech&repo=laravel-request-docs&branch=master&type=phpunit-coverage&theme=light&line=fill&width=150&height=150&output=svg&line=fill) - **Fast** Install on any Laravel Project **Hassle Free** Auto Generate API Documentation for request rules and parameters