Updated Compositions for the CavAddon Rewrite #3136
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: Testing | |
on: | |
pull_request: | |
push: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || | |
github.event.pull_request.head.repo.full_name != | |
github.event.pull_request.base.repo.full_name | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@master | |
- name: Validate SQF | |
run: python3 tools/sqf_validator.py | |
- name: Validate Config | |
run: python3 tools/config_style_checker.py | |
lint: | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || | |
github.event.pull_request.head.repo.full_name != | |
github.event.pull_request.base.repo.full_name | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@master | |
- name: Lint (sqflint) | |
uses: arma-actions/sqflint@master | |
with: | |
args: --exit e --directory cScripts/functions | |
continue-on-error: true # No failure due to many false-positives | |
testing: | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || | |
github.event.pull_request.head.repo.full_name != | |
github.event.pull_request.base.repo.full_name | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@master | |
- name: Check DEBUG_MODE | |
if: always() | |
run: bash tools/checkDebug.sh | |
- name: Check TODO | |
if: always() | |
run: bash tools/checkTodo.sh | |
continue-on-error: true | |
- name: Check for FIXME | |
if: always() | |
run: bash tools/checkFixme.sh | |
- name: Check for LOGGING | |
if: always() | |
run: bash tools/checkLogging.sh | |
- name: Check Pull Request Name | |
if: always() | |
run: bash tools/checkPullRequestTitle.sh ${{ github.event.pull_request.title }} |