20 lines
555 B
YAML
20 lines
555 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
wget -q https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync/archive/main.tar.gz -O /tmp/repo.tar.gz
|
|
tar xzf /tmp/repo.tar.gz -C /tmp
|
|
cp -r /tmp/confsync-main/* .
|
|
ls -la
|
|
- name: Check Python
|
|
run: python3 --version
|
|
- name: Install
|
|
run: |
|
|
pip3 install -e . pytest 2>&1 | tail -5
|
|
- name: Test
|
|
run: pytest confsync/tests/ -v 2>&1 | head -30
|