Skip to content

bailout cleanly if date is in the wrong format #5

bailout cleanly if date is in the wrong format

bailout cleanly if date is in the wrong format #5

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
# schedule:
# - cron: '42 5 * * *'
jobs:
test:
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest] #, macos-latest, windows-latest]
perl: [ '5.36' ]
exclude:
- runner: windows-latest
perl: '5.36'
runs-on: ${{matrix.runner}}
name: OS ${{matrix.runner}} Perl ${{matrix.perl}}
steps:
- uses: actions/checkout@v3
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
distribution: ${{ ( matrix.runner == 'windows-latest' && 'strawberry' ) || 'default' }}
- name: Show Perl Version
run: |
perl -v
- name: Install non-perl dependencies
run: |
sudo apt-get update
sudo apt-get -y install pkg-config libgd-dev
- name: Install Modules
run: |
cpanm -v
#cpanm --installdeps --notest .
cpanm --notest ExtUtils::PkgConfig GD XML::RSS
- name: Show Errors on Windows
if: ${{ failure() && matrix.runner == 'windows-latest' }}
run: |
ls -l C:/Users/
ls -l C:/Users/RUNNER~1/
cat C:/Users/runneradmin/.cpanm/work/*/build.log
- name: Show Errors on Ubuntu
if: ${{ failure() && startsWith( matrix.runner, 'ubuntu-')}}
run: |
cat /home/runner/.cpanm/work/*/build.log
- name: Show Errors on OSX
if: ${{ failure() && startsWith( matrix.runner, 'macos-')}}
run: |
cat /Users/runner/.cpanm/work/*/build.log
# - name: Run process
# run: |
# perl rsru.pl
- name: Run tests
# env:
# AUTHOR_TESTING: 1
# RELEASE_TESTING: 1
run: |
prove
# perl Makefile.PL
# make
# make test