add(#751): add support for github actions #7
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master # Only run when PR is raised for master | |
# This ensures for a single PR one job is run in case of multiple runs | |
concurrency: | |
group: build-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Run Tests | |
- name: Run Tests | |
run: docker-compose -f "docker-compose.test.yml" up --build |