Skip to content

Commit

Permalink
Latest BSD Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 3, 2024
1 parent 0fd8452 commit 0706857
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ on:
pull_request:
jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
# HTML::Entities is part of HTML::Parser
- name: freebsd
version: '13.0'
version: '13.3'
pkginstall: pkg install -y p5-ExtUtils-MakeMaker p5-Test-Deep p5-Test-Most p5-Test-Needs p5-Test-NoWarnings p5-Test-Number-Delta p5-LWP-Protocol-https p5-HTML-Parser
- name: openbsd
version: '7.1'
version: '7.5'
pkginstall: pkg_add p5-List-MoreUtils p5-Log-Any

steps:
Expand All @@ -42,3 +42,7 @@ jobs:
AUTOMATED_TESTING=1 perl Makefile.PL
AUTOMATED_TESTING=1 make
AUTOMATED_TESTING=1 prove -wlmb t
env:
AUTOMATED_TESTING=1
AUTHOR_TESTING=1
NO_NETWORK_TESTING=1
22 changes: 17 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
tags-ignore:
- '*'
pull_request:
schedule:
- cron: '12 23 4 * *'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand All @@ -17,12 +19,9 @@ jobs:
matrix:
os:
- macos-latest
- macos-11
- ubuntu-latest
- ubuntu-20.04
- windows-latest
- windows-2019
perl: ['5.36', '5.34', '5.32', '5.30', '5.28', '5.22']
perl: ['5.38', '5.36', '5.34', '5.32', '5.30', '5.28', '5.22']
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -36,7 +35,20 @@ jobs:
cpanm -iqn --skip-satisfied File::Spec ExtUtils::MakeMaker
cpanm -iqn --skip-satisfied Test::Script Test::Pod::Spelling::CommonMistakes Test::Portability::Files Test::Taint Test::Carp Test::Pod::Coverage
cpanm -iqn --skip-satisfied --installdeps --notest .
- name: Make Module
run: |
# find . -name build.log | xargs cat
perl Makefile.PL
make
- name: Run Tests
run: prove -l -b t
# run: prove -l -b t
run: |
cover -test
cover -report codecov
curl -Os https://uploader.codecov.io/latest/macos/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }}
env:
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion t/changes.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!/usr/bin/perl -w

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion t/pod.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!perl -T
#!perl -w

use strict;
use warnings;
Expand Down

0 comments on commit 0706857

Please sign in to comment.