Skip to content

chore: upgrade to python 3.12 #482

chore: upgrade to python 3.12

chore: upgrade to python 3.12 #482

Workflow file for this run

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.12'
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files