Skip to content

Commit

Permalink
CI: change coveralls from ubuntu-latest to windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
pryrt committed May 12, 2024
1 parent ad3a225 commit 86ba985
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/perl-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: perl-ci
on:
# Triggers the workflow on all pushes to branches, and pull request for the main branch
push:
branches:
branches:
pull_request:
branches: [ main ]

Expand All @@ -19,10 +19,10 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
test:
name: Test With Perl ${{ matrix.perl }} ${{ matrix.os }} ${{ matrix.joblabel }}
runs-on: ${{ ( ( startsWith(matrix.os, 'ubuntu:') && 'ubuntu-latest' ) || ( startsWith(matrix.os, 'macos:') && 'macos-latest' ) || startsWith(matrix.os, 'windows:') && 'windows-latest' ) || matrix.os }}
env:
env:
PCJ: ${{ ( startsWith(matrix.os, 'windows') && '(get-command perl).Path' ) || 'which perl' }}
strategy:
fail-fast: false
Expand All @@ -32,8 +32,8 @@ jobs:
#perl: [ '5.10', '5.32' ]
perl: [ '5.10', '5.34']
include:
- perl: '5.32'
os: 'ubuntu-latest'
- perl: '5.34'
os: 'windows-latest'
coverage: true
steps:
- name: Checkout code
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
# path: ./bin/nppConfigCheck.exe
- name: Run and report test coverage
if: ${{ matrix.coverage }}
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cpanm -n Devel::Cover::Report::Coveralls
Expand Down

0 comments on commit 86ba985

Please sign in to comment.