Skip to content

Commit

Permalink
Add arch matrix to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0sh1dk committed Dec 16, 2023
1 parent 7d3f65f commit 1edc7b1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:
workflow_dispatch:

jobs:
success:
runs-on: ubuntu-latest
valid-tag:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: [[[ .Env.WORKFLOW_NAME ]]] valid tag
id: gha-docker-image-exists
Expand All @@ -22,8 +25,11 @@ jobs:
exit 1
fi

fail:
runs-on: ubuntu-latest
invalid-tag:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: [[[ .Env.WORKFLOW_NAME ]]] invalid tag
id: gha-docker-image-exists
Expand Down

0 comments on commit 1edc7b1

Please sign in to comment.