Added CI for MacOS
Change-Id: I52fe43f675ec048baf94e5232d29b040342f4861
diff --git a/.github/workflows/linux-perl.yml b/.github/workflows/linux-perl.yml
index 8a195c4..1be4002 100644
--- a/.github/workflows/linux-perl.yml
+++ b/.github/workflows/linux-perl.yml
@@ -27,7 +27,7 @@
run: |
cpanm git://github.com/Akron/Mojolicious-Plugin-Localize.git
cpanm git://github.com/Akron/Mojolicious-Plugin-TagHelpers-ContentBlock.git
- cpanm -n --installdeps .
+ cpanm --installdeps .
cpanm -n Cpanel::JSON::XS EV
- name: Run tests
run: prove -lr t/
diff --git a/.github/workflows/macos-perl.yml b/.github/workflows/macos-perl.yml
new file mode 100644
index 0000000..56970bf
--- /dev/null
+++ b/.github/workflows/macos-perl.yml
@@ -0,0 +1,25 @@
+name: CI Per MacOS
+on:
+ push:
+ branches:
+ - '*'
+ tags-ignore:
+ - '*'
+ pull_request:
+jobs:
+ perl:
+ runs-on: macOS-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Perl
+ run: brew install perl
+ - name: perl -V
+ run: perl -V
+ - name: Install dependencies
+ run: |
+ curl -L https://cpanmin.us > cpanm
+ perl cpanm git://github.com/Akron/Mojolicious-Plugin-Localize.git
+ perl cpanm git://github.com/Akron/Mojolicious-Plugin-TagHelpers-ContentBlock.git
+ perl cpanm --installdeps .
+ - name: Run Tests
+ run: prove -lr t/