Use docker compose command for down too #6
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: Nightly | |
on: push | |
jobs: | |
integration-tests: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Start containers | |
run: docker compose -f ".github/integration-tests/docker-compose.yaml" up -d --build | |
# - name: Install node | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: 14.x | |
# - name: Install dependencies | |
# run: npm install | |
# - name: Run tests | |
# run: npm run test | |
- name: Stop containers | |
if: always() | |
run: docker compose -f ".github/integration-tests/docker-compose.yaml" down |