ci: validate test files using docker compose config

This commit is contained in:
Xyphuz 2022-05-24 19:38:32 +08:00
parent 81324f7f14
commit 64d4804ed8

View file

@ -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: