Skip to content

docs: tighten v6.1.1 changelog entries #151

docs: tighten v6.1.1 changelog entries

docs: tighten v6.1.1 changelog entries #151

Workflow file for this run

name: Automated tests
on:
push:
branches:
- 'v*'
- 'development'
- 'wip/*'
pull_request:
branches-ignore:
- 'dependabot/'
jobs:
main_test:
name: 'Python ${{ matrix.python-version }}'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version:
- '3.14'
env:
# Do not log verbosely
DSMRREADER_LOGLEVEL: ERROR
steps:
- uses: actions/checkout@v5
- name: Build docker image(s)
run: |
ln -s provisioning/container/compose.test.yml compose.yml
docker compose build --build-arg PYTHON_VERSION=${{ matrix.python-version }}
- name: Run docker image(s)
run: |
docker compose up -d --remove-orphans
sleep 5
- name: Check code formatting with Black
run: docker compose run tests-dsmr-app poetry run black --check .
- name: Check Django templates with djLint
run: docker compose run tests-dsmr-app poetry run djlint --check .
- name: Check flake8
run: docker compose run tests-dsmr-app poetry run flake8 -v
- name: Type check with MyPy
run: docker compose run tests-dsmr-app poetry run mypy /app/src
- name: Run PostgreSQL tests
run: docker compose run tests-dsmr-app poetry run pytest