Skip to content

Commit

Permalink
Run unit tests via GitHub workflow
Browse files Browse the repository at this point in the history
(first attempt)
  • Loading branch information
paultcochrane committed May 3, 2024
1 parent 4f1aa4a commit 5a6832d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Unit tests

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: 5.30
- run: perl -v
- run: cpanm --installdeps --with-develop --notest .
- run: |
perl Makefile.PL
make
make test

0 comments on commit 5a6832d

Please sign in to comment.