on:
push:
branches: [ master, staging, trying ]
- paths:
- - '**.cs'
- - '**.csproj'
- - '**.sln'
- - '**.git**'
- - '**.yml'
- # no docs on which one of these is supposed to work, so
- # why not just do both
- - 'RobustToolbox'
- - 'RobustToolbox/**'
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ master ]
- paths:
- - '**.cs'
- - '**.csproj'
- - '**.sln'
- - '**.git**'
- - '**.yml'
- - 'RobustToolbox'
- - 'RobustToolbox/**'
-
jobs:
build:
run: |
$env:DOTNET_gcServer=1
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
+ ci-success:
+ name: Build & Test Debug
+ needs:
+ - build
+ runs-on: ubuntu-latest
+ steps:
+ - name: CI succeeded
+ run: exit 0
on:
push:
branches: [ master, staging, trying ]
- paths:
- - '**.cs'
- - '**.csproj'
- - '**.sln'
- - '**.git**'
- - '**.yml'
- # no docs on which one of these is supposed to work, so
- # why not just do both
- - 'RobustToolbox'
- - 'RobustToolbox/**'
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ master ]
- paths:
- - '**.cs'
- - '**.csproj'
- - '**.sln'
- - '**.git**'
- - '**.yml'
- - 'RobustToolbox'
- - 'RobustToolbox/**'
jobs:
build:
run: |
$env:DOTNET_gcServer=1
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
+ ci-success:
+ name: Build & Test Release
+ needs:
+ - build
+ runs-on: ubuntu-latest
+ steps:
+ - name: CI succeeded
+ run: exit 0
jobs:
build:
+ name: Test Packaging
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
jobs:
yaml-schema-validation:
+ name: YAML RGA schema validator
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
jobs:
yaml-schema-validation:
+ name: YAML map schema validator
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
jobs:
build:
+ name: YAML Linter
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
-status = [ "Build & Test Debug", "Build & Test Release", "Test Packaging", "YAML Linter", "YAML schema validator" ]
+status = [
+ "Build & Test Debug",
+ "Build & Test Release",
+ "Test Packaging",
+ "YAML Linter",
+ "YAML RGA schema validator",
+ "YAML map schema validator",
+ "Validate RSIs",
+]
timeout_sec = 1800 # 30 minutes
use_squash_merge = true # Shame this can't use GH squash but what can you do