Skip to content

Update README.md

Update README.md #12

Workflow file for this run

name: Test
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Test build
run: docker-compose up -d
- name: Sleep
shell: bash
run: sleep 30;
- name: Test endpoint with output
shell: bash
run: curl --write-out '%{http_code}' --output /dev/null --silent localhost:8080/index.php?r=site/health
- name: Test endpoint
shell: bash
run: bash test-call.bash
- name: End test
run: docker-compose down