This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
name: CI
|
||||
on: push, pull_request
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone
|
||||
run: git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
||||
- name: Install Python
|
||||
run: |
|
||||
apt-get update && apt-get install -y python3 python3-pip git
|
||||
- name: Install deps
|
||||
run: |
|
||||
pip3 install -e . pytest
|
||||
- name: Run tests
|
||||
run: pytest confsync/tests/ -v
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- run: |
|
||||
pip install -e .
|
||||
pip install pytest
|
||||
pytest confsync/tests/ -v
|
||||
|
||||
Reference in New Issue
Block a user