Skip to content

Commit

Permalink
Don't skip tests, reduce verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jul 29, 2024
1 parent 757ec11 commit c0398ec
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test-working-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: without-working-directory
with:
version: "@gh-action-working-directory"
options: --check --diff -vvv
options: --check --diff
src: test.py
revision: HEAD

Expand All @@ -40,6 +40,7 @@ jobs:
- name: Run Darker with correct working-directory
id: right-workdir
if: always()
uses: ./
with:
version: "@gh-action-working-directory"
Expand Down Expand Up @@ -68,7 +69,7 @@ jobs:
id: wrong-work-dir
with:
version: "@gh-action-working-directory"
options: --check --diff -vvv
options: --check --diff
src: test.py
working-directory: ${{ runner.temp }}/non-existent-dir
revision: HEAD
Expand All @@ -82,9 +83,10 @@ jobs:
fi
- name: Test file not found error
id: file-not-found
if: always()
uses: ./
continue-on-error: true
id: file-not-found
with:
version: "@gh-action-working-directory"
options: --check --diff
Expand All @@ -99,9 +101,10 @@ jobs:
fi
- name: Test invalid arguments error
id: invalid-arguments
if: always()
uses: ./
continue-on-error: true
id: invalid-arguments
with:
version: "@gh-action-working-directory"
options: --invalid-option
Expand All @@ -115,9 +118,10 @@ jobs:
fi
- name: Test missing dependencies error
id: missing-deps
if: always()
uses: ./
continue-on-error: true
id: missing-deps
with:
version: "@gh-action-working-directory"
options: --isort
Expand Down

0 comments on commit c0398ec

Please sign in to comment.