From 179bed7288582778a8285d68de671b731d244e83 Mon Sep 17 00:00:00 2001 From: David Warring Date: Sun, 29 Dec 2024 06:20:27 +1300 Subject: [PATCH] Set up 3os testing --- .github/workflows/{test.yml => linux.yml} | 0 .github/workflows/macos.yml | 31 +++++++++++++++++++++++ .github/workflows/windows.yml | 31 +++++++++++++++++++++++ 3 files changed, 62 insertions(+) rename .github/workflows/{test.yml => linux.yml} (100%) create mode 100644 .github/workflows/macos.yml create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/test.yml b/.github/workflows/linux.yml similarity index 100% rename from .github/workflows/test.yml rename to .github/workflows/linux.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..b98b63a --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,31 @@ +name: test + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + raku: + strategy: + matrix: + os: + - macos-latest + raku-version: + - 'latest' + - '2022.02' + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: Raku/setup-raku@v1 + with: + raku-version: ${{ matrix.raku-version }} + - name: Install Dependencies + run: | + zef install --/test App::Prove6 + zef install --deps-only . + - name: Run Tests + run: prove6 -I. t diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..637b5dc --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,31 @@ +name: test + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + raku: + strategy: + matrix: + os: + - windows-latest + raku-version: + - 'latest' + - '2022.02' + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: Raku/setup-raku@v1 + with: + raku-version: ${{ matrix.raku-version }} + - name: Install Dependencies + run: | + zef install --/test App::Prove6 + zef install --deps-only . + - name: Run Tests + run: prove6 -I. t