20 lines
523 B
YAML
20 lines
523 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
run: |
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
|
- name: Setup Python
|
|
run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq python3 python3-pip git
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -q -e .
|
|
pip install -q pytest
|
|
- name: Run tests
|
|
run: pytest confsync/tests/ -v
|