-
Notifications
You must be signed in to change notification settings - Fork 19
45 lines (43 loc) · 1.24 KB
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Testing
on: [push, pull_request]
jobs:
validate:
runs-on: ubuntu-latest
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
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
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 }}