From 0021eb5dd40e405e1c7def1b93fc1838d11c39f1 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 23 Sep 2022 16:16:07 +0200 Subject: [PATCH] Run unit test on pull request HEAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … instead of on a merge commit. --- .github/workflows/unit_tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 71341cc2c..f56e49599 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -21,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Brew bundle run: @@ -42,4 +44,4 @@ jobs: run: bundle exec fastlane unit_tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 \ No newline at end of file + uses: codecov/codecov-action@v3