Skip to content

Commit

Permalink
Don't test 5.10 and 5.12 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Jun 16, 2020
1 parent 7573031 commit 63bec23
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
- name: dzil stale
run: dzil stale | grep -v Dist::Zilla::Plugin::OALDERS::TidyAll | xargs cpm install -g --show-build-log-on-failure
- name: Build
run: dzil build --no-tgz --in dzil_build_dir
run: dzil build --no-tgz --in build_dir
- name: Maybe skip Changes test
if: github.ref == 'refs/heads/master'
run: rm dzil_build_dir/xt/release/changes_has_content.t && perl -pi -e "s|'xt/release/changes_has_content.t'||g" dzil_build_dir/xt/author/*
run: rm build_dir/xt/release/changes_has_content.t && perl -pi -e "s|'xt/release/changes_has_content.t'||g" build_dir/xt/author/*
- uses: actions/upload-artifact@master
with:
name: build_dir
path: dzil_build_dir
path: build_dir
- name: Install deps
if: success()
run: >
cd dzil_build_dir
cd build_dir
&& cpm install -g
--cpanfile cpanfile
--with-develop
Expand All @@ -55,7 +55,7 @@ jobs:
cpm install -g
--show-build-log-on-failure
Devel::Cover::Report::Codecov &&
cd dzil_build_dir
cd build_dir
&& prove -lr --jobs 2 t xt
&& cover -report codecov
test_linux:
Expand Down Expand Up @@ -98,11 +98,10 @@ jobs:
if: success()
run: prove -lr --jobs 2 t xt
test_macos:
runs-on: ${{ matrix.os }}
runs-on: macos-latest
strategy:
fail-fast: true
matrix:
os: ["macos-latest"]
perl-version:
- "5.10"
- "5.12"
Expand All @@ -115,7 +114,7 @@ jobs:
- "5.26"
- "5.28"
- "5.30"
name: Perl ${{ matrix.perl-version }} on ${{ matrix.os }}
name: Perl ${{ matrix.perl-version }} on macOS
needs: build
steps:
- uses: actions/checkout@v2
Expand All @@ -139,14 +138,11 @@ jobs:
AUTHOR_TESTING: 1
RELEASE_TESTING: 1
test_windows:
runs-on: ${{ matrix.os }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
os: ["windows-latest"]
perl-version:
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
Expand All @@ -156,7 +152,7 @@ jobs:
- "5.26"
- "5.28"
- "5.30"
name: Perl ${{ matrix.perl-version }} on ${{ matrix.os }}
name: Perl ${{ matrix.perl-version }} on windows
needs: build
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 63bec23

Please sign in to comment.