From 93aa308b98c1df3df88550313b584cb1ee240c67 Mon Sep 17 00:00:00 2001 From: Hauke D Date: Sat, 14 Sep 2024 12:37:53 +0000 Subject: [PATCH] More fixes for author tests in GH runner And don't need to run basic tests on tags --- .github/workflows/basic-tests.yml | 6 +++++- .github/workflows/full-tests.yml | 2 +- MANIFEST.SKIP | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/basic-tests.yml b/.github/workflows/basic-tests.yml index 38e551d..0d168c4 100644 --- a/.github/workflows/basic-tests.yml +++ b/.github/workflows/basic-tests.yml @@ -1,6 +1,10 @@ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions name: Basic Tests -on: [push, pull_request] +on: + push: + branches: + - '**' + pull_request: jobs: tests: # Uses the Perl that comes preinstalled on all GH Action runners diff --git a/.github/workflows/full-tests.yml b/.github/workflows/full-tests.yml index 1107a02..56b6296 100644 --- a/.github/workflows/full-tests.yml +++ b/.github/workflows/full-tests.yml @@ -62,7 +62,7 @@ jobs: - uses: actions/checkout@v4 - name: Tests and author tests run: | - cpanm namespace::clean + cpanm namespace::clean Moo prove -lv t xt - name: Coverage run: perl Makefile.PL && make authorcover \ No newline at end of file diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index 1faa4f7..417894c 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -7,4 +7,6 @@ ^pm_to_blib$ ^cover_db/ ^blib/ -^.devcontainer/ \ No newline at end of file +^.devcontainer/ +^.github/ +^.vscode/ \ No newline at end of file