Skip to content

Merge pull request #64 from DPIclimate/issue_62 #99

Merge pull request #64 from DPIclimate/issue_62

Merge pull request #64 from DPIclimate/issue_62 #99

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