Files
RobustToolbox/.github/workflows/build-test.yml
2020-06-12 14:22:58 +02:00

26 lines
538 B
YAML

name: Build & Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.300
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore /p:WarningsAsErrors=nullable
- name: Test
run: dotnet test --no-build Robust.UnitTesting/Robust.UnitTesting.csproj -v n