diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2f0b4ec..1812ceb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,17 +1,22 @@ name: CI -on: push, pull_request +on: [push, pull_request] jobs: - ci: + test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Python + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Setup Python uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install - run: pip install -e . pytest + run: | + pip install -e . + pip install pytest - name: Test run: pytest confsync/tests/ -v