File tree 2 files changed +15
-10
lines changed
2 files changed +15
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
schedule :
7
7
- cron : ' 0 3 * * *'
8
8
9
- env :
10
- COVERALLS_SERVICE_NUMBER : ${{ github.run_id }}-${{ github.run_attempt }}
11
-
12
9
jobs :
13
10
tests :
14
11
runs-on : ubuntu-latest
@@ -40,11 +37,21 @@ jobs:
40
37
run : vendor/bin/phpunit --coverage-clover coverage-clover.xml
41
38
42
39
- name : Submit coverage to Coveralls
43
- env :
44
- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
- run : |
46
- composer global require --no-progress --dev php-coveralls/php-coveralls guzzlehttp/guzzle:^6.5
47
- ~/.composer/vendor/bin/php-coveralls -v
40
+ uses : coverallsapp/github-action@v2
41
+ with :
42
+ flag-name : ${{ github.job }}-PHP-${{ matrix.php-version }} ${{ matrix.dependencies }}
43
+ file : coverage-clover.xml
44
+ parallel : true
45
+
46
+ tests-finished :
47
+ needs : tests
48
+ if : ${{ always() }}
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - name : Notify Coveralls of finished builds
52
+ uses : coverallsapp/github-action@v2
53
+ with :
54
+ parallel-finished : true
48
55
49
56
codestyle :
50
57
name : " Code style and static analysis"
You can’t perform that action at this time.
0 commit comments