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