From ff87ac35e686825b7d9820d33ec4d3f4759c076d Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Thu, 24 Apr 2025 11:08:54 +0200 Subject: [PATCH 1/3] tests: from posix to bash Fixes the following errors ./runTests.sh: 4: [: xxx: unexpected operator ./runTests.sh: 30: [[: not found ./runTests.sh: 30: [: -lt: unexpected operator ./runTests.sh: 30: [: Illegal number: --- tests/runTests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runTests.sh b/tests/runTests.sh index 63108d0..c501021 100755 --- a/tests/runTests.sh +++ b/tests/runTests.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/bash # make sure env is setup proper if [ "xxx$distribution" == "xxx" ] ; then From d90a916a8a3ad44b051584a143c2e701246df848 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Thu, 24 Apr 2025 11:16:26 +0200 Subject: [PATCH 2/3] add github CI --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 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..80c10ea --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +on: push +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.x" + - name: run python + run: ./runTests.sh + working-directory: tests + env: + distribution: ../distribution.py From 28f47efc8da6b5ea0ddb1081e73a2ac6d2762284 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Thu, 24 Apr 2025 11:20:14 +0200 Subject: [PATCH 3/3] perl --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80c10ea..8c5c825 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,3 +12,8 @@ jobs: working-directory: tests env: distribution: ../distribution.py + - name: run perl + run: ./runTests.sh + working-directory: tests + env: + distribution: ../distribution