Skip to content

Commit c66aa8a

Browse files
authored
BZR-69 Update codecov.yml
add dynamic port number to solve SQLSTATE[HY000] [2002] Connection refused error
1 parent a63fd17 commit c66aa8a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
docker exec -i -u root buzzer_app composer install
2323
docker exec -i -u root buzzer_app php artisan key:generate
2424
docker exec -i -u root buzzer_app php artisan migrate
25+
env:
26+
DB_PORT: ${{ job.services.mysql.ports['3306'] }}
2527
- name: Run tests and generate xml report
2628
run: docker exec -i -u root buzzer_app vendor/bin/phpunit --coverage-clover=coverage.xml
2729
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)