Lint and test #2520
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: 'Lint and test' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - stable | |
| paths-ignore: | |
| - 'doc/**' | |
| - '**.md' | |
| pull_request: | |
| paths-ignore: | |
| - 'doc/**' | |
| - '**.md' | |
| workflow_dispatch: # Allow triggering manually | |
| inputs: | |
| core_ref: | |
| description: Use a specific version of the core for the workflow run. Defaults to master. | |
| type: string | |
| default: '' | |
| wagon_dependency_ref: | |
| description: Not used in this wagon, but accepted for consistency across all wagons. | |
| type: string | |
| default: '' | |
| distinct_id: | |
| description: An optional identifier which is simply output again, in order to identify the workflow run when triggered from another repo | |
| type: string | |
| default: '' | |
| jobs: | |
| wagon_tests: | |
| uses: hitobito/hitobito/.github/workflows/wagon-tests.yml@master | |
| with: | |
| wagon_repository: ${{ github.event.repository.name }} | |
| core_ref: ${{ inputs.core_ref }} | |
| distinct_id: ${{ inputs.distinct_id }} | |
| secrets: | |
| HEARTBEAT_URL: ${{ secrets.HEARTBEAT_URL }} | |
| HEARTBEAT_TOKEN: ${{ secrets.HEARTBEAT_TOKEN }} |