Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/main.workflow

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Coverage"

on:
push:
branches: [master]

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: "Install PHP with coverage"
uses: shivammathur/setup-php@v2
with:
php-version: "8.5"
coverage: pcov
tools: composer:v2

- name: "Install dependencies"
run: composer install --no-interaction --no-progress

- name: "Run tests with coverage"
run: vendor/bin/phpunit --coverage-clover clover.xml

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v6
with:
files: clover.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
25 changes: 0 additions & 25 deletions .github/workflows/phpqa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,3 @@ jobs:
uses: docker://jakzal/phpqa:php8.5
with:
args: deptrac --config-file=depfile.yaml --no-interaction --ansi

coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: "Install PHP with coverage"
uses: shivammathur/setup-php@v2
with:
php-version: "8.5"
coverage: pcov
tools: composer:v2

- name: "Install dependencies"
run: composer install --no-interaction --no-progress

- name: "Run tests with coverage"
run: vendor/bin/phpunit --coverage-clover clover.xml

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v6
with:
files: clover.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
8 changes: 0 additions & 8 deletions .whitesource

This file was deleted.