diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..61ce69c --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,13 @@ +--- +name: 'Test' + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + container: + image: perldocker/perl-tester + steps: + - uses: actions/checkout@v4 + - run: make test-t diff --git a/Makefile b/Makefile index 37e0d26..800db43 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ update-deps: tools/update-deps --cpanfile cpanfile .PHONY: test -test: test-tidy test-critic test-yaml test-author +test: test-tidy test-critic test-yaml test-author test-t .PHONY: test-tidy test-tidy: @@ -25,3 +25,7 @@ test-yaml: .PHONY: test-author test-author: prove -l -r xt/ + +.PHONY: test-t +test-t: + prove -l -r t/