22 lines
595 B
YAML
22 lines
595 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone
|
|
run: |
|
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync
|
|
ls /tmp/confsync
|
|
- name: Setup
|
|
run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq python3 python3-pip git < /dev/null
|
|
- name: Install
|
|
run: |
|
|
pip3 install -e /tmp/confsync pytest
|
|
- name: Test
|
|
run: |
|
|
ls /tmp/confsync/confsync/tests/
|
|
pytest /tmp/confsync/confsync/tests/ -v
|