better exeptions for 500 and 400 errors #128
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: Code check Local | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
code-check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Import Outscale API description | |
run: make init | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Python dependencies | |
run: make .venv/ok | |
- name: Analysing the code with pylint | |
run: make test-pylint | |
- name: Security check - Bandit | |
run: make test-bandit | |
- name: Build python package | |
run: make package | |
- name: Run integration tests | |
run: ./local-tests.sh |