test docker image before building

This commit is contained in:
Fco. Javier Delgado del Hoyo 2023-09-16 09:53:33 +02:00
parent 927b053289
commit f8b2f8f1ba

View file

@ -16,6 +16,12 @@ jobs:
uses: actions/checkout@v4
- name: Test Bash scripts
run: sudo apt-get -qq update && sudo apt-get install -y devscripts shellcheck && make test
- name: Test image
env:
VOLUME_PATH: ./
DATABASE_NAME: foo
MARIADB_ROOT_PASSWORD: abcd
run: docker compose up --build
build:
runs-on: ubuntu-22.04
needs: test