From 354067b319d587bd0a178ddc0ed1e79de5460381 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 1 Feb 2026 11:20:30 +0200 Subject: Add CI workflows for coverage and linting; update README to remove Codecov badge --- .github/workflows/coverage.yml | 31 ------------------------------- .github/workflows/lint.yml | 25 ------------------------- 2 files changed, 56 deletions(-) delete mode 100644 .github/workflows/coverage.yml delete mode 100644 .github/workflows/lint.yml (limited to '.github/workflows') diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index a55fa9b..0000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,31 +0,0 @@ -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] -name: Coverage -jobs: - coverage: - name: Coverage - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up php 8.3 - uses: shivammathur/setup-php@v2 - with: - php-version: "8.3" - coverage: xdebug - - - name: Set-up Composer - uses: php-actions/composer@v6 - - - name: Run tests and collect coverage - run: ./vendor/bin/phpunit tests --coverage-clover coverage.xml tests - - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index fad6051..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,25 +0,0 @@ -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] -name: Lint -jobs: - lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up php 8.3 - uses: shivammathur/setup-php@v2 - with: - php-version: "8.3" - - - name: Set-up Composer - uses: php-actions/composer@v6 - - - name: Run phpstan - run: ./vendor/bin/phpstan -- cgit v1.2.3