Use docker compose v2 #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Tests | |
on: | |
push: | |
branches: [ main, dev/* ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: e2e test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the CSharp module directory | |
uses: actions/checkout@v4 | |
- name: Set Docker & Run Test | |
run: | | |
docker network create --subnet 172.18.0.0/24 iotdb-network && docker compose -f docker-compose.yml up --build --abort-on-container-exit --remove-orphans | |
- name: Clean IoTDB & Shut Down Docker | |
run: | | |
docker compose -f docker-compose.yml down |