forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add fake passing tests when CI is skipped (frappe#39555)
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Tests are skipped for these files but github doesn't allow "passing" hence this is required. | ||
|
||
name: Skipped Patch Test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "**.js" | ||
- "**.css" | ||
- "**.md" | ||
- "**.html" | ||
- "**.csv" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
name: Patch Test | ||
|
||
steps: | ||
- name: Pass skipped tests unconditionally | ||
run: "echo Skipped" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Tests are skipped for these files but github doesn't allow "passing" hence this is required. | ||
|
||
name: Skipped Tests | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "**.js" | ||
- "**.css" | ||
- "**.md" | ||
- "**.html" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
container: [1, 2, 3, 4] | ||
|
||
name: Python Unit Tests | ||
|
||
steps: | ||
- name: Pass skipped tests unconditionally | ||
run: "echo Skipped" |