Merge pull request #802 from gabrielp15/patch-1 #261
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: unittests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master, dev] | |
jobs: | |
test-desktop: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: .docker | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Pull docker images | |
run: docker-compose pull | |
- name: Start the environment | |
run: ./start.sh | |
- name: Tests | |
run: ./exec.sh | |
- name: Stop the environment | |
run: docker-compose down |