File tree Expand file tree Collapse file tree 4 files changed +22
-9
lines changed
Expand file tree Collapse file tree 4 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,20 @@ jobs:
3030 - 3306:3306
3131 options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
3232 steps :
33- - uses : actions/checkout@v3
33+ - uses : actions/checkout@v4
3434 - name : " Setup generic dependencies"
3535 run : |
3636 sudo apt update
37- sudo apt install -y gcc make libdbi-perl libdevel-checklib-perl libtest-deep-perl wget lsb-release gnupg
37+ sudo apt install -y \
38+ gcc \
39+ gnupg \
40+ libdbi-perl \
41+ libdevel-checklib-perl \
42+ libtest-deep-perl \
43+ libtest-pod-perl \
44+ lsb-release \
45+ make \
46+ wget \
3847 - if : matrix.client == '8.0'
3948 run : |
4049 sudo debconf-set-selections <<EOF
Original file line number Diff line number Diff line change 55 test :
66 runs-on : macos-latest
77 steps :
8- - uses : actions/checkout@v3
8+ - uses : actions/checkout@v4
99 - name : " Install dependencies"
1010 run : |
1111 brew install cpanminus mysql@8.0 mysql-client@8.0
12+ cpanm DBI
1213 cpanm Devel::CheckLib
13- cpanm Test::More
1414 cpanm Test::Deep
15- cpanm DBI
15+ cpanm Test::More
16+ cpanm Test::Pod
1617 - name : " Run build"
1718 run : |
18- export PATH="/usr/local/opt/mysql@8.0/bin:$PATH"
19+ export PATH="/usr/local/opt/mysql@8.0/bin:/opt/homebrew/opt/mysql-client@8.0/bin:/opt/homebrew/opt/mysql@8.0/bin: $PATH"
1920 perl Makefile.PL --testhost=127.0.0.1 --testuser=root
2021 make
2122 - name : " Start MySQL"
Original file line number Diff line number Diff line change @@ -1347,6 +1347,8 @@ This returns:
13471347
13481348=back
13491349
1350+ =back
1351+
13501352=head1 DATABASE HANDLES
13511353
13521354The DBD::mysql driver supports the following attributes of database
Original file line number Diff line number Diff line change @@ -207,11 +207,12 @@ be on a remote machine.
207207On Fedora the process is as follows. In this example we install and
208208start a local server for running the tests against.
209209
210- dnf -y install make gcc community-mysql-devel community-mysql-libs community-mysql-server
211- dnf -y install "perl(Test::Deep)" "perl(Test::More)"
210+ dnf -y install make gcc mysql-devel mysql-libs mysql-server mysql
211+ dnf -y install "perl(Test::Deep)" "perl(Test::More)" "perl(Test::Pod)" \
212+ "perl(bigint)" "perl(DBI)" "perl(ExtUtils::MakeMaker)" \
213+ "perl(Devel::CheckLib)"
212214 systemctl start mysqld.service
213215
214-
215216=head2 Environment Variables
216217
217218For ease of use, you can set environment variables for
You can’t perform that action at this time.
0 commit comments