Skip to content

Commit

Permalink
Add GitHub action testing
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams committed Jan 3, 2021
1 parent 45df64a commit 786ab18
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 32 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Demystifier PR Build
on: pull_request

jobs:
build:
name: "Build for PR"
runs-on: ${{ matrix.os }}
env:
DOTNET_NOLOGO: true
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-18.04, macOS-latest]
config: [Debug, Release]
steps:
- name: Clone source
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install .NET Core SDK 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'

- name: Install .NET Core SDK 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'

- name: Install .NET SDK 5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'

- name: Get .NET information
run: dotnet --info

- name: "Test"
run: dotnet test -c ${{ matrix.config }}

32 changes: 0 additions & 32 deletions appveyor.yml

This file was deleted.

0 comments on commit 786ab18

Please sign in to comment.