Skip to content

Commit

Permalink
Update macos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Aug 27, 2022
1 parent c3c0da6 commit 8f852bf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/macos.yml
@@ -1,6 +1,6 @@
# brian's standard GitHub Actions macOS config for Perl 5 modules
# version 20220120.001
# https://github.com/briandfoy/github_actions
# version 20220825.001
# https://github.com/briandfoy/github_workflows
# https://github.com/features/actions
# This file is licensed under the Artistic License 2.0
name: macos
Expand All @@ -11,15 +11,17 @@ on:
- '**'
- '!**windows**'
- '!**linux**'
- '!**release**'
tags-ignore:
# I tag release pushes but those should have already been tested
- 'release-*'
paths-ignore:
# list all the files which are irrelevant to the tests
# non-code, support files, docs, etc
- '.appveyor.yml'
- '.github/workflows/ubuntu.yml'
- '.gitattributes'
- '.github/workflows/windows.yml'
- '.github/workflows/release.yml'
- '.gitignore'
- '.releaserc'
- 'Changes'
Expand Down Expand Up @@ -65,6 +67,12 @@ jobs:
run: |
perl Makefile.PL
make test
# Run author tests, but only if there's an xt/ directory
- name: Author tests
if: hashFiles('xt') != ''
run: |
cpan -M https://www.cpan.org -T Test::CPAN::Changes
prove -r -b xt
# Running tests in parallel should be faster, but it's also more
# tricky in cases where different tests share a feature, such as a
# file they want to write to. Parallel tests can stomp on each other.
Expand Down

0 comments on commit 8f852bf

Please sign in to comment.