Skip to content

Upgrade 2024

Upgrade 2024 #108

Workflow file for this run

name: Quality Assurance
on: [pull_request, workflow_call]
jobs:
quality-assurance:
name: Quality Assurance
runs-on: ubuntu-latest
container: python:3.10.4-buster
services:
# TODO(dmu) LOW: This section duplicates services already defined in `docker-compose.yml`.
# Is there a way to make it DRY?
db:
image: postgres:14.2-alpine
env:
POSTGRES_DB: core
POSTGRES_USER: core
POSTGRES_PASSWORD: core
redis:
image: redis:6.2.6-alpine
steps:
- uses: actions/checkout@v2
- name: Run Poetry image
uses: abatilo/[email protected]
with:
poetry-version: 1.3.2
- name: Install
run: make install && make install-pre-commit
- name: Lint
run: make lint
- name: Test
run: make test
env:
CORESETTING_DATABASES: '{"default":{"HOST":"db"}}'
CORESETTING_CHANNEL_LAYERS: '{"default":{"CONFIG":{"hosts":[["redis", 6379]]}}}'