Bump cryptography from 41.0.1 to 41.0.3 in /api #473
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: CI | |
on: push | |
jobs: | |
test-api: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: "Build API test image" | |
run: docker build --tag api-development ./api | |
#- name: "Black Linting" | |
# run: docker run --rm api-development black --check --diff . | |
#- name: "Bandit Static Code Security Analyzis" | |
# run: docker run --rm api-development bandit --recursive . | |
- name: "API UnitTests" | |
run: docker run --rm -e TABEL_KEY="${{ secrets.TABEL_KEY }}" api-development pytest tests | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: Run pre-commit | |
run: pre-commit run --all-files |