From 35e770c3fa523a60291ef8f2cbeb4d0cc0018b46 Mon Sep 17 00:00:00 2001 From: Toon Verstraelen Date: Fri, 14 Jun 2024 10:37:27 +0200 Subject: [PATCH] Test on PR before merging --- .github/workflows/pytest.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index a5cba749..e11bb2a1 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -18,6 +18,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: