From 4046c00b1b84d4f9dc277e0130660268c9f47ab2 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Sun, 13 Sep 2026 21:56:05 +0200 Subject: [PATCH] pipeline fix dependencies --- .gitea/workflows/test.yml | 10 +++++----- .github/workflows/test.yml | 27 --------------------------- 2 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 1b3ad6b..6d6aab3 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -10,10 +10,10 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" - cache: "pip" + python-version: "3.14" + - name: Install uv + run: pip install uv - name: Install dependencies - run: | - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + run: uv sync --frozen - name: Run pytest - run: pytest + run: uv run pytest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index d821f4a..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Tests - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' - cache: 'pip' - - - name: Install dependencies - run: | - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - - name: Run pytest - run: pytest