Merge pull request 'fix/cluster-manager-crash-due-to-overpass-exception' (#72) from fix/cluster-manager-crash-due-to-overpass-exception into main
Some checks failed
Build and deploy the backend to production / Build and push image (push) Successful in 1m50s
Build and release apps to production track / Get version (push) Has been cancelled
Build and release apps to production track / Build and upload android app (push) Has been cancelled
Build and release apps to production track / Build and upload ios app (push) Has been cancelled

Reviewed-on: #72
This commit is contained in:
2025-11-24 19:22:20 +00:00
36 changed files with 3263 additions and 2391 deletions

View File

@@ -15,18 +15,10 @@ jobs:
- uses: https://gitea.com/actions/checkout@v4
- name: Install dependencies
- name: Install pylint
run: |
apt-get update && apt-get install -y python3 python3-pip
pip install pipenv
- name: Install packages
run: |
ls -la
# only install dev-packages
pipenv install --categories=dev-packages
working-directory: backend
apt-get update && apt-get install -y python3 python3-pip pylint
- name: Run linter
run: pipenv run pylint src --fail-under=9
run: pylint src --fail-under=9
working-directory: backend

View File

@@ -15,20 +15,18 @@ jobs:
- uses: https://gitea.com/actions/checkout@v4
- name: Install dependencies
- name: Install uv (manually)
run: |
apt-get update && apt-get install -y python3 python3-pip
pip install pipenv
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install packages
run: |
ls -la
# install all packages, including dev-packages
pipenv install --dev
- name: Install dependencies
working-directory: backend
run: |
uv sync --frozen --no-cache --no-dev
- name: Run Tests
run: pipenv run pytest src --html=report.html --self-contained-html --log-cli-level=DEBUG
run: uv run pytest src --html=report.html --self-contained-html --log-cli-level=DEBUG
working-directory: backend
- name: Upload HTML report