This commit is contained in:
@@ -1,17 +1,22 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: push, pull_request
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
- name: Set up Python
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
- name: Install
|
- name: Install
|
||||||
run: pip install -e . pytest
|
run: |
|
||||||
|
pip install -e .
|
||||||
|
pip install pytest
|
||||||
- name: Test
|
- name: Test
|
||||||
run: pytest confsync/tests/ -v
|
run: pytest confsync/tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user