19 lines
534 B
YAML
19 lines
534 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 .
|
|
- name: Python
|
|
run: |
|
|
which python3 || (apt-get update && apt-get install -y python3 python3-pip git)
|
|
python3 --version
|
|
- name: Install
|
|
run: |
|
|
pip3 install -e . pytest
|
|
pip3 list | grep -E "(confsync|pytest)"
|
|
- name: Test
|
|
run: echo "Install successful"
|