20 lines
495 B
YAML
20 lines
495 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone repository
|
|
run: |
|
|
rm -rf confsync || true
|
|
git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
|
- name: Setup Python
|
|
run: |
|
|
apt-get update && apt-get install -y python3 python3-pip git
|
|
- name: Install
|
|
run: |
|
|
pip install -e .
|
|
pip install pytest
|
|
- name: Test
|
|
run: pytest -v
|