Improving Error Handling in Data Processing: Raise the error and not hide it with the print #126
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: format_and_test | |
on: [ push, pull_request ] | |
jobs: | |
test-ubuntu: | |
runs-on: self-hosted | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: false | |
matrix: | |
docker-image: ["python:3.8"] | |
steps: | |
- name: Checkout marl_eval | |
uses: actions/checkout@v2 | |
- name: Check format and types | |
run: | | |
docker run --mount "type=bind,src=$(pwd),dst=/tmp/marl_eval" \ | |
-w "/tmp/marl_eval" --rm ${{ matrix.docker-image }} /bin/bash bash_scripts/check_format.sh | |
- name: Run tests in docker | |
run: | | |
docker run --mount "type=bind,src=$(pwd),dst=/tmp/marl_eval" \ | |
-w "/tmp/marl_eval" --rm ${{ matrix.docker-image }} /bin/bash bash_scripts/tests.sh |