Skip to content

👷 Prevent GH-actions from running when unrelated changes are made #966

👷 Prevent GH-actions from running when unrelated changes are made

👷 Prevent GH-actions from running when unrelated changes are made #966

name: Test Docker Compose
on:
push:
branches:
- master
paths-ignore:
- 'release-notes.md'
- development.md
- deployment.md
- SECURITY.md
- README.md
- LICENSE
- .pre-commit-config.yaml
- .gitignore
- .gitattributes
- img/*
- hooks/*
- .copier/*
pull_request:
types:
- opened
- synchronize
paths-ignore:
- 'release-notes.md'
- development.md
- deployment.md
- SECURITY.md
- README.md
- LICENSE
- .pre-commit-config.yaml
- .gitignore
- .gitattributes
- img/*
- hooks/*
- .copier/*
jobs:
test-docker-compose:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- run: docker compose build
- run: docker compose down -v --remove-orphans
- run: docker compose up -d --wait backend frontend adminer
- name: Test backend is up
run: curl http://localhost:8000/api/v1/utils/health-check
- name: Test frontend is up
run: curl http://localhost:5173
- run: docker compose down -v --remove-orphans