Edit project files #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE by Peter O: | |
# Modified from a file that was contributed by GitHub user Happypig375 | |
# at: https://github.com/peteroupc/Numbers/pull/10 | |
name: Test | |
on: [push, pull_request] | |
jobs: | |
Core: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '5.0' | |
- name: Test | |
run: | | |
dotnet add Test package Microsoft.NET.Test.Sdk # Update is required for GitHubActionsTestLogger to print anything | |
dotnet add Test package GitHubActionsTestLogger | |
dotnet add Test package NUnit3TestAdapter | |
dotnet test Test -c Release | |
permissions: | |
contents: read |