Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
6e93235
feat: rewrite delete function
GlebRysev-UKKA Dec 9, 2025
6367bd1
feat: add audit date/time to deleted patient model
GlebRysev-UKKA Dec 9, 2025
9c1e5f8
feat: allow to run from CLI
GlebRysev-UKKA Dec 9, 2025
ba4d494
build: deps
GlebRysev-UKKA Dec 9, 2025
345f896
style: mypy
GlebRysev-UKKA Dec 9, 2025
f6828d7
fix: typo
GlebRysev-UKKA Dec 9, 2025
20a47f4
style: .
GlebRysev-UKKA Dec 9, 2025
10768f0
feat: initial move
GlebRysev-UKKA Feb 20, 2026
00d4585
refactor: adapt for SQLA and modern formatting
GlebRysev-UKKA Feb 20, 2026
e37d763
refactor: more SQLA
GlebRysev-UKKA Feb 20, 2026
cceff1c
style: .
GlebRysev-UKKA Feb 20, 2026
33c8ac2
Merge branch 'main' into RR-533
GlebRysev-UKKA Feb 27, 2026
7ed01e1
ci: new actions
GlebRysev-UKKA Feb 27, 2026
ad29f81
fix: update models
GlebRysev-UKKA Mar 13, 2026
6d5391f
fix: column renames and proper time formats
GlebRysev-UKKA Mar 13, 2026
2db6ac1
style: .
GlebRysev-UKKA Mar 13, 2026
893e3fc
build: bump version
GlebRysev-UKKA Mar 13, 2026
d10e0b6
Merge branch 'main' into REN-124
GlebRysev-UKKA Mar 13, 2026
69608fa
ci: new actions
GlebRysev-UKKA Mar 16, 2026
ffbecac
Merge branch 'REN-124' of https://github.com/renalreg/ukrr_models int…
GlebRysev-UKKA Mar 16, 2026
2d8b665
build: dependencies
GlebRysev-UKKA Mar 16, 2026
e2e7cdd
build: new lockfile
GlebRysev-UKKA Mar 16, 2026
f19a370
ci: don't test on ubuntu
GlebRysev-UKKA Mar 16, 2026
07bf818
fix: add removal metadata
GlebRysev-UKKA Mar 16, 2026
8b1bb47
ci: tox
GlebRysev-UKKA Mar 16, 2026
47f5977
Merge branch 'REN-124' into RR-533
GlebRysev-UKKA Mar 16, 2026
783f9fe
feat: cli for merge
GlebRysev-UKKA Mar 16, 2026
df94614
fix: typo
GlebRysev-UKKA Mar 16, 2026
4611fbc
fix: print full traceback on error
GlebRysev-UKKA Mar 16, 2026
bf91935
refactor: use database functions for audit date and time
GlebRysev-UKKA Mar 16, 2026
0e388a1
Merge branch 'REN-124' into RR-533
GlebRysev-UKKA Mar 16, 2026
5c4c870
fix: fix sqla issue with binded params, add commit
GlebRysev-UKKA Mar 16, 2026
434042f
style: .
GlebRysev-UKKA Mar 17, 2026
db97918
build: bump version
GlebRysev-UKKA Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 17 additions & 51 deletions .github/workflows/python_test.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,26 @@
# 📘 Full documentation:
# https://github.com/renalreg/.github/blob/main/README.md#python-test-workflow


name: Python Test

on:
pull_request:
branches:
- main
- "master"

workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
python-version: ["3.9", "3.10", "3.11"]

env:
DIRECTORY_TO_SCAN: ./ukrr_models
TODO_REGEX: 'TODO:(?!\s*\[[A-Za-z0-9-]+\])'

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Poetry
uses: Gr1N/setup-poetry@v8

- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: poetry install

- name: Run Tox
run: poetry run tox

- name: TODO Check (Linux)
if: runner.os == 'Linux'
run: |
result=$(find "$DIRECTORY_TO_SCAN" -type f -name "*.py" -exec grep -Hn -P "$TODO_REGEX" {} \;)
if [ -n "$result" ]; then
echo "Non-matching TODO comments found:"
echo "$result"
exit 1
fi

- name: TODO Check (Windows)
if: runner.os == 'Windows'
run: |
$result = Get-ChildItem -Path $env:DIRECTORY_TO_SCAN -Filter *.py -Recurse | ForEach-Object { Get-Content $_.FullName | Select-String -Pattern $env:TODO_REGEX }
if ($result) {
echo "Non-matching TODO comments found:"
echo "$result"
exit 1
}
call-workflow:
name: Running python tests
uses: renalreg/.github/.github/workflows/python_test.yml@main
secrets: inherit
with:
python_versions: '["3.12"]'

os: '["windows-latest"]'
package_manager_command: "pip install poetry"
install_command: "poetry install --no-interaction"
test_command: "poetry run tox"
org_deps: true
Loading
Loading