name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout repository run: | git clone https://gitea.com/$GITEA_REPO_NAME . 2>/dev/null || git clone https://gitea.com/${{ github.repository }} . - name: Install and test run: | pip install -e . pytest pytest tests/ -v