| name: E2E Tests | |
| on: | |
| push: | |
| branches: [ main, dev/* ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| name: e2e test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Check out code into the CSharp module directory | |
| uses: actions/checkout@v2 | |
| - name: Set Docker & Run Test | |
| run: | | |
| 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 |