diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bd05972..2f0b4ec 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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