Fix CI workflow - use proper checkout instead of wget
All checks were successful
CI / test (push) Successful in 13s

This commit is contained in:
2026-02-01 05:36:07 +00:00
parent f4becf791e
commit ffcfb0a3a2

View File

@@ -6,16 +6,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download repo
run: |
wget -q https://gitea.com/7000pctAUTO/json-to-openapi/archive/main.tar.gz -O repo.tar.gz
tar xzf repo.tar.gz
ls -la
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install
run: |
cd json-to-openapi-main
pip3 install -e . pytest
- name: Test
run: |
cd json-to-openapi-main
pytest tests/ -v