Files
json-to-openapi/.gitea/workflows/ci.yml
7000pctAUTO d43df1179e
Some checks failed
CI / test (push) Failing after 2s
Download repo as tarball instead of git clone
2026-02-01 05:29:17 +00:00

24 lines
567 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download
run: |
curl -L https://gitea.com/7000pctAUTO/json-to-openapi/archive/main.tar.gz -o repo.tar.gz
tar xzf repo.tar.gz
cd json-to-openapi-main
- name: Install
run: |
cd json-to-openapi-main
pip3 install --upgrade pip setuptools wheel
pip3 install -e .
pip3 install pytest
- name: Test
run: |
cd json-to-openapi-main
pytest tests/ -v