Skip to content

Commit

Permalink
Update errors.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaaks authored Aug 27, 2020
1 parent fb42da0 commit b468b94
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,39 @@ jobs:

# run checks on a series of directories
- name: A directory with missing CITATION.cff file should fail
uses: citation-file-format/cffconvert-github-action@master
uses: citation-file-format/cffconvert-github-action@1
with:
FAILURE_EXPECTED: true
WORKDIR: tests/cff-missing/

- name: A directory with missing zenodo file should fail
uses: citation-file-format/cffconvert-github-action@master
uses: citation-file-format/cffconvert-github-action@1
with:
FAILURE_EXPECTED: true
WORKDIR: tests/zenodo-missing/

- name: A zenodo file with missing title field should fail
uses: citation-file-format/cffconvert-github-action@master
uses: citation-file-format/cffconvert-github-action@1
with:
FAILURE_EXPECTED: true
WORKDIR: tests/zenodo-not-equivalent/

- name: A zenodo file with extra spaces should pass when DIFF_IGNORE_WHITESPACE is undefined
uses: citation-file-format/cffconvert-github-action@master
uses: citation-file-format/cffconvert-github-action@1
with:
DIFF_IGNORE_WHITESPACE: ''
FAILURE_EXPECTED: false
WORKDIR: tests/zenodo-with-extra-whitespace/

- name: A zenodo file with extra spaces should pass when DIFF_IGNORE_WHITESPACE is true
uses: citation-file-format/cffconvert-github-action@master
uses: citation-file-format/cffconvert-github-action@1
with:
DIFF_IGNORE_WHITESPACE: true
FAILURE_EXPECTED: false
WORKDIR: tests/zenodo-with-extra-whitespace/

- name: A zenodo file with extra spaces should fail when DIFF_IGNORE_WHITESPACE is false
uses: citation-file-format/cffconvert-github-action@master
uses: citation-file-format/cffconvert-github-action@1
with:
DIFF_IGNORE_WHITESPACE: false
FAILURE_EXPECTED: true
Expand Down

0 comments on commit b468b94

Please sign in to comment.