Fix test count in t/googleplaces.t #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# See https://github.com/FGasper/perl-github-action-tips | |
# See also https://github.com/egor-tensin/setup-cygwin/issues/9 | |
name: Test Code on Cygwin | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' | |
steps: | |
- name: Set up Cygwin | |
uses: egor-tensin/setup-cygwin@master | |
with: | |
platform: x64 | |
packages: perl_base perl-ExtUtils-MakeMaker make gcc-g++ libcrypt-devel libnsl-devel bash perl-LWP-Protocol-https | |
- uses: actions/checkout@main | |
with: | |
submodules: recursive | |
- run: perl -V | |
- run: cpan App::cpanminus | |
- name: Install Dependencies | |
run: cd $GITHUB_WORKSPACE; cpanm --verbose --notest --installdeps --with-configure --with-develop . | |
- name: perl Makefile.PL | |
run: cd $GITHUB_WORKSPACE; perl Makefile.PL | |
- name: make | |
run: cd $GITHUB_WORKSPACE; make | |
- name: prove -wlvmb t | |
run: cd $GITHUB_WORKSPACE; make test |