Skip to content

Commit 22f45eb

Browse files
committed
Return CC to Actions workflow
1 parent 8912b9e commit 22f45eb

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/php.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Steam
1+
name: Unit Tests
22

33
on:
44
push:
@@ -11,7 +11,8 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
strategy:
1313
matrix:
14-
php: [ '7.3', '7.4', '8.0' ]
14+
php: [ '8.0', '7.4', '7.3' ]
15+
continue-on-error: true
1516
steps:
1617
- uses: actions/checkout@v2
1718

@@ -43,6 +44,18 @@ jobs:
4344
apiKey: ${{ secrets.STEAM_API_KEY }}
4445
run: composer run-script test
4546

47+
- name: Publish Test Coverage
48+
uses: paambaati/codeclimate-action@v2.7.5
49+
if: ${{ matrix.php }} == '8.0' && ${{ github.ref }} == 'master'
50+
env:
51+
apiKey: ${{ secrets.STEAM_API_KEY }}
52+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
53+
XDEBUG_MODE: coverage
54+
with:
55+
coverageCommand: composer run-script coverage
56+
coverageLocations: ${{github.workspace}}/coverage.clover:clover
57+
debug: true
58+
4659
- uses: sarisia/actions-status-discord@v1
4760
if: ${{ failure() }}
4861
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Steam
1+
# Steam API
22

33
[![Join the chat at https://gitter.im/syntaxerrors/Steam](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/syntaxerrors/Steam?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

0 commit comments

Comments
 (0)