Fix CI workflow - use proper checkout instead of wget
All checks were successful
CI / test (push) Successful in 13s
All checks were successful
CI / test (push) Successful in 13s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user