fix: try checkout action
This commit is contained in:
@@ -1,19 +1,17 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on: [push, pull_request]
|
|
||||||
|
on: push, pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- uses: actions/checkout@v3
|
||||||
run: |
|
|
||||||
rm -rf confsync || true
|
|
||||||
git clone https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
run: |
|
uses: actions/setup-python@v4
|
||||||
apt-get update && apt-get install -y python3 python3-pip git
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: pip install -e . pytest
|
||||||
pip install -e .
|
|
||||||
pip install pytest
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: pytest -v
|
run: pytest confsync/tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user