Files
json-to-openapi/.gitea/workflows/ci.yml
7000pctAUTO 3d88504b69
Some checks failed
CI / test (push) Failing after 2s
Check if already cloned
2026-02-01 05:25:21 +00:00

22 lines
529 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: |
if [ ! -f setup.py ]; then
git clone https://gitea.com/7000pctAUTO/json-to-openapi .
fi
- name: Install
run: |
python3 -m ensurepip --upgrade 2>/dev/null || true
python3 -m pip install --upgrade pip
python3 -m pip install -e .
python3 -m pip install pytest
- name: Test
run: python3 -m pytest tests/ -v