Skip to content

Commit

Permalink
Override CI_BUILD_NUMBER
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Apr 18, 2024
1 parent 2a49151 commit 592f3bd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
schedule:
- cron: '0 3 * * *'

env:
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}

jobs:
tests:
runs-on: ubuntu-latest
Expand All @@ -23,6 +20,9 @@ jobs:
name: PHP ${{ matrix.php-version }} ${{ matrix.dependencies }}

steps:
- name: Dump COVERALLS_SERVICE_NUMBER
run: echo $COVERALLS_SERVICE_NUMBER

- uses: actions/checkout@v2

- name: Setup PHP
Expand All @@ -42,8 +42,10 @@ jobs:
- name: Submit coverage to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI_BUILD_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
run: |
composer global require --no-progress --dev php-coveralls/php-coveralls guzzlehttp/guzzle:^6.5
echo $CI_BUILD_NUMBER
composer global require --no-progress --dev php-coveralls/php-coveralls
~/.composer/vendor/bin/php-coveralls -v
codestyle:
Expand Down

0 comments on commit 592f3bd

Please sign in to comment.