Skip to content

Commit

Permalink
update coveralls directive in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiabasone committed Feb 6, 2023
1 parent 6004057 commit 0a51866
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lumen-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ jobs:
DB_PORT: ${{ job.services.mysql.ports['3306'] }}
REDIS_PORT: ${{ job.services.redis.ports['6379'] }}
- name: "[Coveralls] Extract branch name"
if: matrix.php-versions == '8.1'
if: matrix.php-versions == '8.2'
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch
- name: "[Coveralls] Checkout branch"
if: matrix.php-versions == '8.1'
if: matrix.php-versions == '8.2'
shell: bash
run: git fetch && git checkout ${{ steps.extract_branch.outputs.branch }}
- name: "[Coveralls] Send report"
if: matrix.php-versions == '8.1'
if: matrix.php-versions == '8.2'
run: ./vendor/bin/php-coveralls -v -x clover.xml -o coveralls-upload.json
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0a51866

Please sign in to comment.