Files
curl-converter-cli/.gitea/workflows/ci.yml
7000pctAUTO 1a3ec64292
Some checks failed
CI / test (push) Has been cancelled
Fix CI issues: add workflow file and fix lint errors
2026-03-22 10:53:54 +00:00

34 lines
699 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
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 click>=8.0 requests>=2.28 pyyaml>=6.0
pip install pytest pytest-cov
- name: Run tests
run: |
python -m pytest tests/ -v
- name: Check linting
run: |
pip install ruff
python -m ruff check .