23 lines
590 B
YAML
23 lines
590 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git $HOME/confsync
|
|
cp -r $HOME/confsync/. .
|
|
- name: Setup Python
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends python3 python3-pip git
|
|
- name: Install
|
|
run: |
|
|
pip install --no-cache-dir -e .
|
|
pip install --no-cache-dir pytest
|
|
- name: Test
|
|
run: pytest confsync/tests/ -v
|