feat: add testing framework #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build template | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build docker image | |
run: docker-compose build | |
- name: Run docker container | |
run: docker-compose up -d | |
- name: Debug | |
run: docker ps | |
- name: Test if service is reachable | |
run: | | |
sleep 30 | |
curl -v -s --retry 10 --retry-connrefused --insecure https://localhost:8000/ |