CI: run tests before release
This commit is contained in:
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
@@ -20,6 +20,12 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@master
|
uses: docker/setup-qemu-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
21
.github/workflows/docker-tests.yml
vendored
21
.github/workflows/docker-tests.yml
vendored
@@ -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
0
tests/run_tests.sh
Normal file → Executable file
Reference in New Issue
Block a user