From a700f76a367baf61c6cbca6aa855a5240b4615ec Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 04:08:17 +0000 Subject: [PATCH] fix: use gitea runner instead of ubuntu-latest --- .gitea/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index be5f845..4ec06fe 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,14 +1,10 @@ name: CI -on: - push: - branches: [main] - pull_request: - branches: [main] +on: [push, pull_request] jobs: test: - runs-on: ubuntu-latest + runs-on: gitea steps: - name: Checkout run: | @@ -19,12 +15,12 @@ jobs: run: | python3 -m pip install --upgrade pip - - name: Install + - name: Install dependencies run: | python3 -m pip install pytest ruff python3 -m pip install -e ".[dev]" - - name: Test + - name: Run tests run: | python3 -m pytest tests/ -v --tb=short