Skip to content

Commit

Permalink
Add Github test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-kennedy committed Jul 19, 2024
1 parent 130e9f1 commit 7385450
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7385450

Please sign in to comment.