From 019f4291322f5fe7d1bbba8f375bbd1836a4f5f4 Mon Sep 17 00:00:00 2001 From: Robert Ashton Date: Wed, 6 Mar 2024 15:12:34 +0000 Subject: [PATCH] Build test data before running any tests --- .github/workflows/R-CMD-check.yaml | 4 ++++ .github/workflows/R-integration-test.yaml | 4 ++++ .github/workflows/test-coverage.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 7e5e2f76..7a837395 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -58,6 +58,10 @@ jobs: run: | ./scripts/redis start + - name: Build test data + run: | + ./scripts/build_test_data + - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true diff --git a/.github/workflows/R-integration-test.yaml b/.github/workflows/R-integration-test.yaml index eaa507a6..7a44c7a9 100644 --- a/.github/workflows/R-integration-test.yaml +++ b/.github/workflows/R-integration-test.yaml @@ -58,6 +58,10 @@ jobs: run: | ./scripts/redis start + - name: Build test data + run: | + ./scripts/build_test_data + - name: Run integration tests run: | ./scripts/test_integration diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 3f66f3d8..df802b56 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -37,6 +37,10 @@ jobs: run: | ./scripts/redis start + - name: Build test data + run: | + ./scripts/build_test_data + - name: Test coverage run: | covr::codecov(