This commit is contained in:
@@ -6,18 +6,7 @@ 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
|
||||
run: |
|
||||
echo "Testing..."
|
||||
ls -la
|
||||
|
||||
Reference in New Issue
Block a user