Skip to content

Commit 1fb7441

Browse files
committed
fix error github-ci
1 parent 263aed1 commit 1fb7441

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
image: mariadb:10.3
99
env:
1010
MYSQL_ROOT_PASSWORD: password
11+
MYSQL_USER: mycsa
12+
MYSQL_PASSWORD: mycsa
1113
MYSQL_DATABASE: csa_test
1214
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
1315
ports:
@@ -34,14 +36,15 @@ jobs:
3436
run: cpanm -n App::cpanminus ExtUtils::MakeMaker
3537
- name: Install dependencies
3638
run: |
37-
cpanm -n --installdeps .
39+
cpanm -n DBI DBD::MariaDB
3840
cpanm -n Test::Pod Test::Pod::Coverage Mojo::SQLite Mojo::mysql Mojo::Pg
41+
cpanm -n .
3942
- name: Run tests
4043
run: prove -lvr
4144
env:
4245
HARNESS_OPTIONS: j3
4346
TEST_FOR: 500
44-
TEST_ONLINE_mariadb: mariadb://root:password@mysql:3306/csa_test
47+
TEST_ONLINE_mariadb: mariadb://mycsa:mycsa@mysql:3306/csa_test
4548
TEST_ONLINE_pg: postgresql://postgres:postgres@postgres:5432/csa_test
4649
TEST_POD: 1
4750
TEST_PUBSUB: 1

0 commit comments

Comments
 (0)