Skip to content

Commit

Permalink
attempt to fix test workflow (for Windows, as usual)
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Aug 28, 2024
1 parent ffadbbc commit e9b19d0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ on:
- '*.md'
- 'LICENSE'

defaults:
run:
shell: bash -l {0}

jobs:
build:
name: "Build & Test"
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest # Linux - amd64
- macos-12 # macOS - amd64
- macos-latest # macOS - arm64/M1
- windows-latest # Windows - amd64
include:
- {name: "Linux (amd64)", os: ubuntu-latest, shell: bash}
- {name: "macOS (amd64)", os: macos-12, shell: bash}
- {name: "macOS (arm64)", os: macos-latest, shell: bash}
- {name: "Windows (amd64)", os: windows-latest, shell: "msys2 {0}"}

defaults:
run:
shell: ${{ matrix.shell }}
steps:
- name: "Cancel similar actions in progress"
uses: styfle/cancel-workflow-action@0.6.0
Expand Down

0 comments on commit e9b19d0

Please sign in to comment.