updated docs according to comments received #1422
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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
qa: | |
uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.110 | |
with: | |
MD_CONFIG: .github/md_config.json | |
DOC_SRC: content README.md | |
MD_LINT_CONFIG: .markdownlint.yaml | |
build: | |
uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.110 | |
with: | |
DOCKER_FILE_PATH: Dockerfile | |
CONTAINER_REGISTRY_URL: ghcr.io/stakater | |
secrets: | |
CONTAINER_REGISTRY_USERNAME: ${{ github.actor }} | |
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.GHCR_TOKEN }} | |
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} | |
test: | |
runs-on: ubuntu-latest | |
needs: [build] | |
env: | |
IMAGE_PATH: ${{ needs.build.outputs.IMAGE_PATH }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Login to Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io/stakater | |
username: ${{ github.actor }} | |
password: ${{ secrets.GHCR_TOKEN }} | |
- name: Run Docker container for the saap-docs app | |
run: | | |
docker run -d --name saap-docs -p 8080:8080 ${{ env.IMAGE_PATH }} || exit 1 | |
- name: Build testcafe tests | |
working-directory: ./testcafe | |
run: | | |
docker build -t testcafe-tests . | |
- name: Run Docker container to run tests | |
run: | | |
docker run --rm --network="host" --name myapp-testcafe-container testcafe-tests:latest |