Skip to content

Refactor CI to decouple jobs #62

Refactor CI to decouple jobs

Refactor CI to decouple jobs #62

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]
steps:
- uses: actions/checkout@v4
- name: Test docker-compose.yaml
run: docker compose up --wait --wait-timeout 300