Skip to content

Commit

Permalink
update test-coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
joemaller committed Feb 29, 2024
1 parent 5f4049b commit 203d6b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/phpunit-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [master]

jobs:
build:
test:
runs-on: ubuntu-22.04

steps:
Expand Down Expand Up @@ -37,15 +37,15 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
COVERALLS_RUN_LOCALLY: yes
run: |
composer require 'php-coveralls/php-coveralls:2.5.3'
composer require 'php-coveralls/php-coveralls:2.7.0'
vendor/bin/php-coveralls \
--coverage_clover ./coverage.xml \
--json_path ./coveralls-upload.json \
--verbose
# https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
files: ./coverage.xml
Expand All @@ -56,7 +56,7 @@ jobs:
# second section.
# https://github.com/paambaati/codeclimate-action
- name: Code Climate coverage
uses: paambaati/codeclimate-action@v3.2.0
uses: paambaati/codeclimate-action@v5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand Down

0 comments on commit 203d6b5

Please sign in to comment.