diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1fd6c43..ecf4221 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,19 +2,17 @@ name: CI on: push: - branches: [ main ] + branches: [main] + pull_request: + branches: [main] jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Install package - run: pip install -e ".[dev]" - - name: Run unit tests - run: pytest tests/unit/ -v + - run: pip install -e ".[dev]" + - run: pytest tests/unit -v