Skip to content

DB init script now creates version table so DB v1 backups restore cle… #116

DB init script now creates version table so DB v1 backups restore cle…

DB init script now creates version table so DB v1 backups restore cle… #116

Workflow file for this run

name: Docker Compose Actions Workflow
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create python-base image
run: docker build -q -t broker/python-base -f images/restapi/Dockerfile .
- name: Create ttn-decoder image
run: docker build -q -t broker/ttn_decoder -f images/ttn_decoder/Dockerfile .
- name: Create webapp image
run: docker build -q -t broker/mgmt-app -f src/www/Dockerfile .
- name: Build the stack
run: docker compose -p test -f compose/docker-compose.yml -f compose/test/test.yml up -d
- name: Unit tests
run: docker exec test-x-1 pytest