From fb73a76a99057af7b5d5ea4f74883714162f8bea Mon Sep 17 00:00:00 2001 From: Tate Exon Date: Wed, 31 Jul 2024 16:53:26 -0600 Subject: [PATCH] Fix run tests on merge --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 96f843b..a08b24e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,6 +21,7 @@ jobs: id: delta with: use-nix: 'true' + base-ref: ${{ github.base_ref || 'main' }} - name: Run Tests In Nix if: steps.delta.outputs.packages != '' run: nix develop -c sh -c "go test -timeout 5m -cover -covermode=count ${{ steps.delta.outputs.packages }}"