Skip to content

Allow various submarines without deck guns to surface again #784

Allow various submarines without deck guns to surface again

Allow various submarines without deck guns to surface again #784

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches:
- deploy/fafdevelop
- deploy/faf
- deploy/fafbeta
- develop
- master
jobs:
syntax:
name: Syntax
runs-on: ubuntu-latest
container: faforever/lua:v5.0-1
steps:
- name: Install tooling
run: apk add bash git findutils
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: |
*.sh
*.lua
*.bp
- name: Check Lua syntax
run: "bash ./tests/run-syntax-test.sh"
testUtils:
name: Utility tests
needs: [syntax]
runs-on: ubuntu-latest
container: faforever/lua:v5.0-1
steps:
- name: Install tooling
run: apk add bash git findutils
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: |
*.sh
*.lua
*.bp
- name: Run Lua tests
run: "bash ./tests/run-utility-tests.sh"
testUnits:
name: Blueprint tests
needs: [syntax]
runs-on: ubuntu-latest
container: faforever/lua:v5.0-1
steps:
- name: Install tooling
run: apk add bash git findutils
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: |
*.sh
*.lua
*.bp
- name: Run Lua tests
run: "bash ./tests/run-blueprint-tests.sh"