dep: bump crowdin/github-action from 2.1.2 to 2.1.3 (#866) #942
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: Docker Tests | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Build and start docker container | |
run: docker compose -f "docker-compose.yml" up -d --build | |
- name: Wait for Apache to start | |
run: sleep 5 | |
- name: Verify container status | |
run: docker compose -f "docker-compose.yml" ps | |
- name: Print container logs | |
run: docker compose -f "docker-compose.yml" logs | |
- name: Check welcome page | |
run: curl --fail-with-body http://localhost/welcome/ | |
- name: Print container logs on failure | |
if: failure() | |
run: docker compose -f "docker-compose.yml" logs | |
- name: Stop docker container | |
if: always() | |
run: docker compose -f "docker-compose.yml" down |