From b8087b8d38c46948c14d7861f0afcf5c92bcaeba Mon Sep 17 00:00:00 2001 From: Nicola Guerrera Date: Tue, 9 Apr 2024 03:54:04 +0200 Subject: [PATCH 1/2] tests: add exec permission --- tests/run_tests.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tests/run_tests.sh diff --git a/tests/run_tests.sh b/tests/run_tests.sh old mode 100644 new mode 100755 From acceb8b69e1aa77d4634956c515ad43d30cb3055 Mon Sep 17 00:00:00 2001 From: Nicola Guerrera Date: Tue, 9 Apr 2024 03:54:38 +0200 Subject: [PATCH 2/2] CI: added tests --- .github/workflows/docker-tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/docker-tests.yml diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml new file mode 100644 index 0000000..f6d90a6 --- /dev/null +++ b/.github/workflows/docker-tests.yml @@ -0,0 +1,21 @@ +name: Run Test on Docker Image + +on: + release: + types: + - published + workflow_dispatch: + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build and run firegex + run: python3 start.py -b --psw-no-interactive testpassword + - name: Run tests + run: cd tests && ./run_tests.sh +