Move CI workflow from .github to .gitea
Gitea Actions reads .gitea/workflows, so the workflow lives there. Update the workflow header comment, the Continuous integration section and the project layout in the README to match. A GitHub mirror does not run it.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Runs on Gitea Actions (Gitea reads .gitea/workflows).
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
- name: Install
|
||||
run: |
|
||||
python -m venv .venv
|
||||
.venv/bin/python -m pip install --upgrade pip
|
||||
.venv/bin/python -m pip install -e ".[dev]"
|
||||
- name: Lint
|
||||
run: .venv/bin/ruff check .
|
||||
- name: Type check
|
||||
run: .venv/bin/mypy
|
||||
- name: Test
|
||||
run: .venv/bin/python -m pytest
|
||||
Reference in New Issue
Block a user