fix: use gitea runner instead of ubuntu-latest
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user