fix: use gitea runner instead of ubuntu-latest
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-02 04:08:17 +00:00
parent 03cf8dfff3
commit a700f76a36

View File

@@ -1,14 +1,10 @@
name: CI name: CI
on: on: [push, pull_request]
push:
branches: [main]
pull_request:
branches: [main]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: gitea
steps: steps:
- name: Checkout - name: Checkout
run: | run: |
@@ -19,12 +15,12 @@ jobs:
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
- name: Install - name: Install dependencies
run: | run: |
python3 -m pip install pytest ruff python3 -m pip install pytest ruff
python3 -m pip install -e ".[dev]" python3 -m pip install -e ".[dev]"
- name: Test - name: Run tests
run: | run: |
python3 -m pytest tests/ -v --tb=short python3 -m pytest tests/ -v --tb=short