27
.github/workflows/build-test-debug.yml
vendored
27
.github/workflows/build-test-debug.yml
vendored
@@ -3,29 +3,10 @@ name: Build & Test Debug
|
||||
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:
|
||||
@@ -71,3 +52,11 @@ jobs:
|
||||
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
|
||||
|
||||
26
.github/workflows/build-test-release.yml
vendored
26
.github/workflows/build-test-release.yml
vendored
@@ -3,28 +3,10 @@ name: Build & Test Release
|
||||
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:
|
||||
@@ -70,3 +52,11 @@ jobs:
|
||||
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
|
||||
|
||||
1
.github/workflows/test-packaging.yml
vendored
1
.github/workflows/test-packaging.yml
vendored
@@ -28,6 +28,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Test Packaging
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
1
.github/workflows/validate-rgas.yml
vendored
1
.github/workflows/validate-rgas.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
yaml-schema-validation:
|
||||
name: YAML RGA schema validator
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
1
.github/workflows/validate_mapfiles.yml
vendored
1
.github/workflows/validate_mapfiles.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
yaml-schema-validation:
|
||||
name: YAML map schema validator
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
1
.github/workflows/yaml-linter.yml
vendored
1
.github/workflows/yaml-linter.yml
vendored
@@ -9,6 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: YAML Linter
|
||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
10
bors.toml
10
bors.toml
@@ -1,3 +1,11 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user