Skip to content

Commit

Permalink
Split workflow jobs so they all run even when one fails (expectedly).
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Jan 13, 2021
1 parent dc22015 commit f86b36a
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
name: Test
name: Test markdownlint-cli2-action

on:
pull_request:
push:
workflow_dispatch:

jobs:
test:
name: Test markdownlint-cli2-action
no-globs:
name: No globs (README.md, no errors)
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: No globs (README.md, no errors)
uses: ./
- name: One glob (test/error.md, errors)
uses: ./
- uses: ./
one-glob:
name: One glob (test/errors.md, errors)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
globs: test/errors.md
- name: Two globs (README.md and test/error.md, errors)
uses: ./
two-globs:
name: Two globs (README.md and test/errors.md, errors)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
globs: |
*.md
test/*
test/*

0 comments on commit f86b36a

Please sign in to comment.