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