Merge pull request #36 from LUMC/release_1.10.0 #112
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: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
- name: Set up Python | |
uses: actions/setup-python@v2.2.1 | |
- name: Install pytest | |
run: pip install pytest | |
- name: Run test. | |
run: pytest tests/ | |
env: | |
# Make sure everything works correctly by default. | |
# SHM_CSR_FAST: yes runs by default on the local test. | |
SHM_CSR_FAST: "no" | |
- name: Print stdout | |
run: bash -c 'cat /tmp/tmp*/stdout' | |
if: failure() | |
- name: Print stderr | |
run: bash -c 'cat /tmp/tmp*/stderr' | |
if: failure() |