Skip to content

Allow only one backend at a time #77

Allow only one backend at a time

Allow only one backend at a time #77

name: Docker Compose CI
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install 'yamllint'
run: sudo apt-get install -y yamllint
- name: Lint YAML files
run: yamllint -c .github/yamllint_config.yaml .
test:
runs-on: ubuntu-latest
needs:
- lint
strategy:
matrix:
BE_VERSION: [backend, backendnext]
steps:
- uses: actions/checkout@v4
- name: Test docker-compose.yaml
run: |-
export BE_VERSION=${{ matrix.BE_VERSION }}
docker compose up --wait --wait-timeout 300