Skip to content

Commit 0b227ae

Browse files
committed
Override CI_BUILD_NUMBER
1 parent 2a49151 commit 0b227ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 4 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
@@ -42,8 +39,11 @@ jobs:
4239
- name: Submit coverage to Coveralls
4340
env:
4441
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
CI_BUILD_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
43+
CI_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
4544
run: |
46-
composer global require --no-progress --dev php-coveralls/php-coveralls guzzlehttp/guzzle:^6.5
45+
echo $CI_BUILD_NUMBER
46+
composer global require --no-progress --dev php-coveralls/php-coveralls
4747
~/.composer/vendor/bin/php-coveralls -v
4848
4949
codestyle:

0 commit comments

Comments
 (0)