CI: run tests before release

This commit is contained in:
Nicola Guerrera
2024-04-09 04:24:36 +02:00
parent ba966f01d1
commit 3e18e64d66
3 changed files with 6 additions and 21 deletions

View File

@@ -20,6 +20,12 @@ jobs:
- name: Checkout repository
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
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:

View File

@@ -1,21 +0,0 @@
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

0
tests/run_tests.sh Normal file → Executable file
View File