Skip to content

Fix autolobby sending invalid game states to the server #2492

Fix autolobby sending invalid game states to the server

Fix autolobby sending invalid game states to the server #2492

Workflow file for this run

name: Test
on:
workflow_call:
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"