Skip to content

Commit 298a70c

Browse files
committed
Fix CI with newer Mariadb and PHP versions
1 parent 856d210 commit 298a70c

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/check.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
env:
1919
MYSQL_DATABASE: flarum_test
2020
MYSQL_ROOT_PASSWORD: root
21-
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
21+
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
2222

2323
strategy:
2424
matrix:
@@ -48,15 +48,21 @@ jobs:
4848
run: make test -k
4949

5050
- name: Upload coverage
51-
uses: codecov/codecov-action@v3
51+
uses: codecov/codecov-action@v4
5252
with:
53+
token: ${{ secrets.CODECOV_TOKEN }}
5354
files: tests/.phpunit.unit.cov.xml,tests/.phpunit.integration.cov.xml
5455

5556
analyse:
5657
runs-on: ubuntu-latest
5758
steps:
5859
- uses: actions/checkout@v3
5960

61+
- name: Setup PHP
62+
uses: shivammathur/setup-php@v2
63+
with:
64+
php-version: '8.2'
65+
6066
- name: Install dependencies
6167
run: make
6268

0 commit comments

Comments
 (0)