19 lines
590 B
YAML
19 lines
590 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: |
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/repo
|
|
cp -r /tmp/repo/. .
|
|
- run: |
|
|
which python3 || (apt-get update && apt-get install -y python3 python3-pip)
|
|
python3 --version
|
|
- run: |
|
|
pip3 install -e . pytest
|
|
pip3 list | grep -E "(confsync|pytest)"
|
|
- run: |
|
|
ls -la confsync/tests/ 2>/dev/null || echo "NO TESTS"
|
|
pytest confsync/tests/ -v 2>&1 | head -50
|