Create build-test.yml

This commit is contained in:
Pieter-Jan Briers
2020-06-07 17:18:35 +02:00
committed by GitHub
parent b2cb334f03
commit 096c47a1fe

25
.github/workflows/build-test.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
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.101
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build Robust.UnitTests/Robust.UnitTesting.csproj