fix: basic CI workflow
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on: [push, pull_request]
|
on: push, pull_request
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- name: Clone
|
||||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
run: git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
||||||
echo "Clone successful"
|
- name: Install Python
|
||||||
- run: |
|
run: |
|
||||||
python3 --version
|
apt-get update && apt-get install -y python3 python3-pip git
|
||||||
- run: |
|
- name: Install deps
|
||||||
pip3 install pytest --quiet
|
run: |
|
||||||
- run: |
|
pip3 install -e . pytest
|
||||||
pip3 install -e . --quiet && echo "Install successful"
|
- name: Run tests
|
||||||
|
run: pytest confsync/tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user