Skip to content

Commit

Permalink
ci: add workflow for running test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptprivate authored Sep 27, 2024
1 parent 95bd707 commit cf0154e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Suite

on:
pull_request:
branches:
- main
- develop

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Perl
run: |
sudo apt-get update
sudo apt-get install -y perl
- name: Install dependencies
run: cpanm --installdeps --with-test .

- name: Run tests
working-directory: ./tests
run: prove -r

0 comments on commit cf0154e

Please sign in to comment.