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 c540a07 commit da21eba
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/macos.yml
@@ -1,6 +1,6 @@
# brian's standard GitHub Actions macOS config for Perl 5 modules
# version 20220125.002
# 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 @@ -19,8 +19,9 @@ on:
# 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 @@ -66,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 da21eba

Please sign in to comment.