Skip to content

Commit

Permalink
add test for perl>5.36
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Dec 3, 2024
1 parent 9e3951d commit 8da0a85
Showing 1 changed file with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,51 @@ concurrency:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:

# This workflow contains a second job called "build2"
build_perl536:
# avoid to run twice push and PR
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

# The type of runner that the job will run on
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install libdb-dev
run: sudo apt-get -y install libdb-dev
- name: Install R
run: sudo apt-get -y install r-base

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
#- name: Checkout AGAT
- uses: actions/checkout@v2
- name: Setup Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: '5.36'
install-modules-with: cpanm
install-modules-args: --notest --force
install-modules: File::ShareDir::Install
- uses: webiny/action-post-run@2.0.1
id: post-run-command
if: ${{ failure() }}
with:
run: cat /home/runner/.cpanm/build.log
- name: install AGAT deps
run: cpanm --installdeps --notest --force .
- name: test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


# This workflow contains a first job called "build"
build_perl530:
# avoid to run twice push and PR
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

#container:
# image: perl:5.30
Expand Down Expand Up @@ -51,4 +89,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVEL_COVER_OPTIONS: "+ignore,^local/"
run: cover -test -report Coveralls
run: cover -test -report Coveralls

0 comments on commit 8da0a85

Please sign in to comment.