From 61b60b44c0d0ace047e2abfeeab49dd22f1b8219 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 6 Aug 2021 00:02:06 -0700 Subject: [PATCH] Run Go integration tests on all operating systems Bugs can sometimes be operating system-specific, so it's important to test with all of them. This was done in the source workflow, but ended up being lost when the integration testing functionality was moved to a dedicated workflow. --- .../.github/workflows/test-go-integration-task.yml | 9 ++++++++- workflow-templates/test-go-integration-task.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml index 91abb970..bd9b713a 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-integration-task.yml @@ -34,7 +34,14 @@ on: jobs: test: - runs-on: ubuntu-latest + strategy: + matrix: + operating-system: + - ubuntu-latest + - windows-latest + - macos-latest + + runs-on: ${{ matrix.operating-system }} steps: - name: Checkout repository diff --git a/workflow-templates/test-go-integration-task.yml b/workflow-templates/test-go-integration-task.yml index 91abb970..bd9b713a 100644 --- a/workflow-templates/test-go-integration-task.yml +++ b/workflow-templates/test-go-integration-task.yml @@ -34,7 +34,14 @@ on: jobs: test: - runs-on: ubuntu-latest + strategy: + matrix: + operating-system: + - ubuntu-latest + - windows-latest + - macos-latest + + runs-on: ${{ matrix.operating-system }} steps: - name: Checkout repository