diff options
Diffstat (limited to '.gitea/workflows/ci.yaml')
| -rw-r--r-- | .gitea/workflows/ci.yaml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d27f068..77f89a6 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,18 +1,22 @@ name: CI -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: + branches: [master] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: 3.11 + python-version: "3.11" - name: Install dependencies run: | @@ -20,4 +24,4 @@ jobs: pip install -r requirements-dev.txt - name: Run tests - run: pytest + run: pytest -v |
