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:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download repo
|
- name: Checkout code
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
wget -q https://gitea.com/7000pctAUTO/json-to-openapi/archive/main.tar.gz -O repo.tar.gz
|
|
||||||
tar xzf repo.tar.gz
|
- name: Set up Python
|
||||||
ls -la
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
cd json-to-openapi-main
|
|
||||||
pip3 install -e . pytest
|
pip3 install -e . pytest
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
cd json-to-openapi-main
|
|
||||||
pytest tests/ -v
|
pytest tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user