Add Gitea Actions workflow: ci.yml
Some checks failed
CI / test (push) Failing after 4m52s

This commit is contained in:
2026-02-03 06:15:23 +00:00
parent 94aea3006a
commit 97c5954e45

View File

@@ -7,25 +7,6 @@ on:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff black mypy
- name: Run ruff
run: ruff check .
- name: Run black
run: black --check .
- name: Run mypy
run: mypy .
test:
runs-on: ubuntu-latest
steps:
@@ -34,22 +15,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest click pyyaml jsonschema tomli
pip install -e .
- name: Run tests
run: pytest -v
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build
run: pip install build
- name: Build package
run: python -m build
run: pytest -v --tb=short