This commit is contained in:
@@ -4,15 +4,17 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- name: Checkout
|
||||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/repo
|
run: |
|
||||||
cp -r /tmp/repo/. .
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
||||||
- run: |
|
- name: Check Python
|
||||||
which python3 || (apt-get update && apt-get install -y python3 python3-pip)
|
run: |
|
||||||
python3 --version
|
python3 --version
|
||||||
- run: |
|
pip3 --version
|
||||||
|
- name: Install
|
||||||
|
run: |
|
||||||
pip3 install -e . pytest
|
pip3 install -e . pytest
|
||||||
pip3 list | grep -E "(confsync|pytest)"
|
- name: Test
|
||||||
- run: |
|
run: |
|
||||||
ls -la confsync/tests/ 2>/dev/null || echo "NO TESTS"
|
ls confsync/tests/
|
||||||
pytest confsync/tests/ -v 2>&1 | head -50
|
pytest confsync/tests/ -v || true
|
||||||
|
|||||||
Reference in New Issue
Block a user