Files
json-to-openapi/.gitea/workflows/ci.yml
7000pctAUTO 4918ecd3d3
Some checks failed
CI / test (push) Has been cancelled
Minimal CI workflow - just checkout and run tests
2026-02-01 05:21:32 +00:00

19 lines
521 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: |
git clone https://gitea.com/${{ github.repository }} ${{ github.workspace }}
cd ${{ github.workspace }}
git checkout ${{ github.sha }}
- name: Run tests
run: |
cd ${{ github.workspace }}
pip3 install -e . pytest 2>/dev/null || pip install -e . pytest
python3 -m pytest tests/ -v 2>/dev/null || python -m pytest tests/ -v