Edit project files #274
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@v3 | |
with: | |
dotnet-version: '7.0' | |
- name: Test | |
run: | | |
dotnet add CBORTest package Microsoft.NET.Test.Sdk # Update is required for GitHubActionsTestLogger to print anything | |
dotnet add CBORTest package GitHubActionsTestLogger | |
dotnet add CBORTest package NUnit3TestAdapter | |
dotnet test CBORTest -c Release | |
permissions: | |
contents: read |