From cf0154e2f4e3923967558b5cfaa084339adbc22c Mon Sep 17 00:00:00 2001 From: priv <140729444+scriptprivate@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:57:45 -0300 Subject: [PATCH] =?UTF-8?q?ci:=20add=20workflow=20for=20running=20test?= =?UTF-8?q?=C2=A0suite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-suite.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test-suite.yml diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml new file mode 100644 index 0000000..ebb6352 --- /dev/null +++ b/.github/workflows/test-suite.yml @@ -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