Skip to content

masayag is testing out bloodinfo docker-compose πŸš€ #39

masayag is testing out bloodinfo docker-compose πŸš€

masayag is testing out bloodinfo docker-compose πŸš€ #39

Workflow file for this run

name: Build and test application on push
run-name: ${{ github.actor }} is testing out bloodinfo docker-compose πŸš€
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
POSTGRES_USER: mada
POSTGRES_PASSWORD: mada
POSTGRES_DB: bloodinfo
steps:
# need checkout before using docker-compose-action
- uses: actions/checkout@v3
- uses: adambirds/[email protected]
with:
compose-file: "docker-compose.yml"
down-flags: "--volumes --remove-orphans --rmi local"
test-container: "blood-info"
test-command: "$(wget -q -O- --no-check-certificate https://localhost:8443/station | jq '. | length') -gt 0"