mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Create test-content.yml
This commit is contained in:
committed by
GitHub
parent
5c8545c396
commit
b502e92c3a
40
.github/workflows/test-content.yml
vendored
Normal file
40
.github/workflows/test-content.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Test content master against engine
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out content
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: space-wizards/space-station-14
|
||||
submodules: true
|
||||
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 3.1.300
|
||||
- name: Disable submodule autoupdate
|
||||
run: touch BuildChecker/DISABLE_SUBMODULE_AUTOUPDATE
|
||||
|
||||
- name: Check out engine version
|
||||
run: |
|
||||
cd RobustToolbox
|
||||
git fetch ${{ github.sha }}
|
||||
git checkout ${{ github.sha }}
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
- name: Content.Tests
|
||||
run: dotnet test --no-build Content.Tests/Content.Tests.csproj
|
||||
- name: Content.IntegrationTests
|
||||
run: dotnet test --no-build Content.Tests/Content.Tests.csproj
|
||||
Reference in New Issue
Block a user