Skip to content

Commit 592f3bd

Browse files
committed
Override CI_BUILD_NUMBER
1 parent 2a49151 commit 592f3bd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
schedule:
77
- cron: '0 3 * * *'
88

9-
env:
10-
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
11-
129
jobs:
1310
tests:
1411
runs-on: ubuntu-latest
@@ -23,6 +20,9 @@ jobs:
2320
name: PHP ${{ matrix.php-version }} ${{ matrix.dependencies }}
2421

2522
steps:
23+
- name: Dump COVERALLS_SERVICE_NUMBER
24+
run: echo $COVERALLS_SERVICE_NUMBER
25+
2626
- uses: actions/checkout@v2
2727

2828
- name: Setup PHP
@@ -42,8 +42,10 @@ jobs:
4242
- name: Submit coverage to Coveralls
4343
env:
4444
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
CI_BUILD_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
4546
run: |
46-
composer global require --no-progress --dev php-coveralls/php-coveralls guzzlehttp/guzzle:^6.5
47+
echo $CI_BUILD_NUMBER
48+
composer global require --no-progress --dev php-coveralls/php-coveralls
4749
~/.composer/vendor/bin/php-coveralls -v
4850
4951
codestyle:

0 commit comments

Comments
 (0)