From 64d4804ed8b0775763e058ffbee3fbdcdfe56819 Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Tue, 24 May 2022 19:38:32 +0800 Subject: [PATCH] ci: validate test files using docker compose config --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d6b488..bcfde75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,16 @@ jobs: sudo apt-get update sudo apt-get install -y graphviz + - name: Validate Test Files + run: | + docker compose -f tests/ymls/builds/docker-compose.yml config -q + docker compose -f tests/ymls/depends_on/docker-compose.yml config -q + docker compose -f tests/ymls/extends/docker-compose.yml config -q + docker compose -f tests/ymls/links/docker-compose.yml config -q + docker compose -f tests/ymls/networks/docker-compose.yml config -q + docker compose -f tests/ymls/ports/docker-compose.yml config -q + docker compose -f tests/ymls/volumes/docker-compose.yml config -q + - name: Setup Python 3.10.4 uses: actions/setup-python@v3 with: