Files
json-to-openapi/.gitea/workflows/ci.yml
7000pctAUTO e1e04d7554
Some checks failed
CI / test (push) Failing after 2s
Try cp from temp dir
2026-02-01 05:26:42 +00:00

24 lines
619 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
if [ ! -f setup.py ]; then
git clone https://gitea.com/7000pctAUTO/json-to-openapi /tmp/repo
cp -r /tmp/repo/* .
cp -r /tmp/repo/.* . 2>/dev/null || true
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