Skip to content

WIP: Putting the structure in place and basic testing. #153

WIP: Putting the structure in place and basic testing.

WIP: Putting the structure in place and basic testing. #153

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