summaryrefslogtreecommitdiff
path: root/.github/workflows/run-tests-simple.yml
blob: c2a776bd547ae0280706c6448f719d1dfc814cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Manually run tests (Ubuntu, Perl 5 latest)

on:
  workflow_dispatch:

jobs:
  # This workflow contains a single job called "build"
  tests:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v3
      - uses: shogo82148/actions-setup-perl@v1
        with:
          perl-version: '5.34'
          install-modules-with: cpanm
          install-modules-args: --with-develop --with-configure
      - name: Identify perl version
        run: perl -V
      - name: Build module
        run: perl Makefile.PL
      - name: Run tests
        run: make test TEST_VERBOSE=1