From 7385450aef1b6ad35d3108abb86fb4ef7923ead9 Mon Sep 17 00:00:00 2001 From: Greg Kennedy Date: Fri, 19 Jul 2024 13:21:40 -0500 Subject: [PATCH] Add Github test workflows --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..449dbc5 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + container: + image: perldocker/perl-tester:latest + + steps: + - name: Checkout source + uses: actions/checkout@main + - name: Install Dependencies + run: apt-get install -y libcue-dev + - name: Perl version + run: perl -V + - name: Create Makefile + run: perl Makefile.PL + - name: Build module + run: make + - name: Run tests + run: prove -wlvmb t + + perlcritic: + uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-perlcritic.yml@main