Skip to content

Commit 2abd1a9

Browse files
committed
Fix pod and ensure Test::Pod is installed
1 parent deba734 commit 2abd1a9

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/ci_mac.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ jobs:
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 [email protected] [email protected]
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/[email protected]/bin:$PATH"
19+
export PATH="/usr/local/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:$PATH"
1920
perl Makefile.PL --testhost=127.0.0.1 --testuser=root
2021
make
2122
- name: "Start MySQL"

lib/DBD/mysql.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,8 @@ This returns:
13471347
13481348
=back
13491349
1350+
=back
1351+
13501352
=head1 DATABASE HANDLES
13511353
13521354
The DBD::mysql driver supports the following attributes of database

lib/DBD/mysql/INSTALL.pod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,12 @@ be on a remote machine.
207207
On Fedora the process is as follows. In this example we install and
208208
start 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

217218
For ease of use, you can set environment variables for

0 commit comments

Comments
 (0)