Files
json-to-openapi/.gitea/workflows/ci.yml
7000pctAUTO 085ab55efb
Some checks failed
CI / test (push) Failing after 2s
Use git init + fetch instead of clone
2026-02-01 05:25:59 +00:00

24 lines
604 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: |
rm -rf * .gitignore 2>/dev/null || true
git init
git remote add origin https://gitea.com/7000pctAUTO/json-to-openapi
git fetch
git checkout main
- 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