chore: add uv, generate requirements.txt for tests
Some checks failed
PR tests / build-and-smoke (pull_request) Failing after 54s

This commit is contained in:
2025-11-25 09:12:51 +01:00
parent c21afa0776
commit 0e7c45182a

View File

@@ -15,6 +15,19 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
run: uv python install
with:
python-version-file: "pyproject.toml"
- name: Install the project dependencies
run: |
uv sync --all-groups
uv add pip
uv export --format requirements.txt -o requirements.txt
# uv run python -m pip install --upgrade pip
# uv run python -m pip install -r requirements.txt
- name: Build image - name: Build image
run: | run: |
docker build -t semapform-api:test-pr . docker build -t semapform-api:test-pr .