Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: test for multifiles #88

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
level: warning
reviewdog_flags: -filter-mode=file -fail-on-error
workdir: ./testdata/
target: "success.py test.py"
target: success.py test.py

test-pr-check:
if: github.event_name == 'pull_request'
Expand All @@ -47,7 +47,7 @@ jobs:
level: warning
reviewdog_flags: -filter-mode=file -fail-on-error
workdir: ./testdata/
target: "success.py test.py"
target: success.py test.py

test-pr-review:
if: github.event_name == 'pull_request'
Expand All @@ -68,7 +68,7 @@ jobs:
level: warning
reviewdog_flags: -filter-mode=file -fail-on-error
workdir: ./testdata/
target: "success.py test.py"
target: success.py test.py

test-local:
name: runner / mypy (local)
Expand All @@ -89,7 +89,7 @@ jobs:
filter_mode: nofilter
fail_on_error: true
workdir: ./testdata/
target: "success.py test.py"
target: success.py test.py
- name: mypy-local-error
id: mypy_local_error
uses: ./
Expand All @@ -100,7 +100,7 @@ jobs:
filter_mode: nofilter
fail_on_error: true
workdir: ./testerror/
target: "success.py test.py"
target: success.py test.py
continue-on-error: true
- name: mypy-local-error-should-failure
if: steps.mypy_local_error.outcome == 'success'
Expand Down
3 changes: 3 additions & 0 deletions testdata/success.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def mul(a: int, b: int) -> int:
return a * b

3 changes: 3 additions & 0 deletions testerror/success.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def mul(a: int, b: int) -> int:
return a * b