This commit is contained in:
@@ -1,16 +1,14 @@
|
|||||||
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:
|
||||||
- name: Clone
|
- uses: actions/checkout@v3
|
||||||
run: git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
- uses: actions/setup-python@v4
|
||||||
- name: Install Python
|
with:
|
||||||
run: |
|
python-version: '3.10'
|
||||||
apt-get update && apt-get install -y python3 python3-pip git
|
- run: |
|
||||||
- name: Install deps
|
pip install -e .
|
||||||
run: |
|
pip install pytest
|
||||||
pip3 install -e . pytest
|
pytest confsync/tests/ -v
|
||||||
- name: Run tests
|
|
||||||
run: pytest confsync/tests/ -v
|
|
||||||
|
|||||||
Reference in New Issue
Block a user