From 74a6f3d52027c37c25b7d14ff76fe7206db9bee9 Mon Sep 17 00:00:00 2001 From: Phil Jay Date: Wed, 24 Apr 2024 10:07:52 +1000 Subject: [PATCH] Run tests on all runner types --- .github/workflows/test-and-release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index a8758fa..e52fe2d 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -72,12 +72,20 @@ jobs: - lint - test - test-api-mode - runs-on: ubuntu-latest + strategy: + matrix: + os: + - macos-latest + - ubuntu-latest + - windows-latest + fail-fast: true + runs-on: ${{ matrix.os }} steps: - name: Checkout code # have to checkout to have the source code available uses: actions/checkout@v4 - name: Remove .git directory # remove the git directory to make the testing valid + shell: bash run: rm -rf .git/ - name: Get next version via API