Skip to content

Commit

Permalink
* added test filenames check action
Browse files Browse the repository at this point in the history
  • Loading branch information
benedeki committed Jun 18, 2024
1 parent 615359a commit 58b8b56
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr_release_note_comment_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,4 @@ jobs:
with:
sha: ${{ steps.comment-branch.outputs.head_sha }}
token: ${{ secrets.GITHUB_TOKEN }}
status: failure
# ${{ job.status }}
status: ${{ job.status }}
25 changes: 25 additions & 0 deletions .github/workflows/test_filenames_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Filenames Check

on:
pull_request:
branches: [ master ]
types: [ opened, synchronize, reopened ]

jobs:
test_filenames_check:
name: Test Filenames Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Filename Inspector
id: scan-test-files
uses: AbsaOSS/[email protected]
with:
name_patterns: '*UnitTest.*,*IntegrationTest.*'
paths: '**/src/test/scala/**'
excludes: 'src/exclude_dir/*.py,tests/exclude_file.py'
report_format: 'console'
verbose_logging: 'false'
fail_on_violation: 'true'

0 comments on commit 58b8b56

Please sign in to comment.