Modeling exercises: Fix displaying no graded result in header when it has result from Athena
#5999
This file contains hidden or 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
| name: Java Code Quality Analysis | |
| on: | |
| push: | |
| branches: [ develop ] | |
| paths: | |
| - src/main/java/** | |
| pull_request: | |
| paths: | |
| - src/main/java/** | |
| jobs: | |
| code-quality-analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # Fetch full history to enable git diff with base branch | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| - name: Check LOC and number of class dependencies | |
| run: | | |
| # TODO these values should become zero in the future | |
| max_large_classes=15 | |
| max_complex_beans=12 | |
| python supporting_scripts/analyze_java_files.py \ | |
| --max-large-classes $max_large_classes \ | |
| --max-complex-beans $max_complex_beans \ | |
| --event-type "${{ github.event_name }}" \ | |
| --base-branch "${{ github.event.pull_request.base.ref || 'develop' }}" |