Skip to content

Update to Python 3.12 and update all Python dependencies #120

Update to Python 3.12 and update all Python dependencies

Update to Python 3.12 and update all Python dependencies #120

Workflow file for this run

name: Quality Assurance
# We run on all branches and also for pull-requests
on:
push: {}
pull_request:
branches:
- master
- develop
jobs:
qa_checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: docker build -t qa --file .devcontainer/Dockerfile .
- name: Start Docker container
run: docker run --rm --name qa_ctr -v $PWD:/app -w /app -d qa:latest sleep infinity
- name: Install Python dependencies
run: docker exec qa_ctr pipenv sync --dev
- name: Run code format check
run: docker exec qa_ctr pipenv run ./scripts/format.sh --check
- name: Run pylint
run: docker exec qa_ctr pipenv run ./scripts/pylint.sh
- name: Run mypy
run: docker exec qa_ctr pipenv run ./scripts/mypy.sh
- name: Run pytest
run: docker exec qa_ctr pipenv run ./scripts/pytest.sh
- name: Stop and tidy up
run: docker stop qa_ctr