README editing (#121) #88
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: perseus profile (Linux and Mac) | |
on: push | |
jobs: | |
perseus: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
httpType: [http] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup Docker on macOS | |
if: runner.os == 'macOS' | |
uses: douglascamata/setup-docker-macos-action@v1-alpha | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build traefik container | |
run: docker compose up -d | |
- name: Check traefik container | |
run: docker logs traefik | |
- name: Build perseus profile | |
run: docker compose --profile perseus up -d | |
- name: Test perseus frontend | |
run: | | |
sleep 30 | |
curl -s --retry 10 --retry-connrefused ${{matrix.httpType}}://127.0.0.1/perseus |