Skip to content

Commit

Permalink
Added matrix-optional test
Browse files Browse the repository at this point in the history
  • Loading branch information
PathogenDavid committed Nov 27, 2021
1 parent cf7807a commit c623b33
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/determine-rid.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: determine-rid Test
on: [push, workflow_dispatch]
on: [workflow_dispatch]
jobs:
test-unix:
strategy:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/matrix-optional.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Matrix Optional Test
on: [push, workflow_dispatch]
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- name: Not specified
- name: Specified
skip-thing: true
name: Test ${{matrix.name}} (${{matrix.skip-thing}})
runs-on: ubuntu-latest
steps:
- name: Always ran
run: echo "Hello, world!"
- name: Sometimes ran
if: matrix.skip-thing != true
run: echo "Sometimes I'm skipped!"

0 comments on commit c623b33

Please sign in to comment.