-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added prettier config and added fixed dubble testing (#1205)
- Loading branch information
1 parent
cd91d85
commit a01250a
Showing
6 changed files
with
55 additions
and
41 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: Create Artifacts | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
name: Create And Upload Releases | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,49 @@ | ||
name: Testing | ||
on: [push, pull_request] | ||
on: | ||
pull_request: | ||
push: | ||
branches: main | ||
|
||
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 | ||
- 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 | ||
- 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 }} | ||
- 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 }} |