chore: just test if this project can be running or not #8
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: Test | |
on: | |
pull_request: | |
push: { branches: master } | |
jobs: | |
test: | |
name: Run Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build container | |
run: docker compose build | |
- name: Run tests | |
run: docker compose -f "docker-compose.test.yaml" up --abort-on-container-exit --exit-code-from test --attach test |