Move Unit tests to GHA for DJ82 #3861
Workflow file for this run
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
name: Codestandard | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
jobs: | |
syntax-job: | |
runs-on: ubuntu-latest | |
container: | |
image: domjudge/gitlabci:24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run the syntax checks | |
run: .github/jobs/syntax.sh | |
detect-dump: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Search for leftover dump( statements" | |
run: .github/jobs/detect_dump.sh | |
php-linter: | |
runs-on: ubuntu-latest | |
container: | |
image: pipelinecomponents/php-linter:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Detect PHP linting issues | |
run: > | |
parallel-lint --colors | |
lib/lib.*.php | |
etc | |
judge | |
webapp/src | |
webapp/tests | |
webapp/public | |
webapp/config | |
pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: jakebailey/pyright-action@v2 | |
with: | |
version: 1.1.311 |