Skip to content

CI on MacOS

CI on MacOS #49

Workflow file for this run

name: CI on MacOS
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: "Install dependencies"
run: |
brew install cpanminus [email protected] [email protected]
cpanm Devel::CheckLib
cpanm Test::More
cpanm Test::Deep
cpanm DBI
- name: "Run build"
run: |
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
perl Makefile.PL --testhost=127.0.0.1 --testuser=root
make
- name: "Start MySQL"
run: |
brew services start [email protected]
- name: "Run test"
run: make test