-
Notifications
You must be signed in to change notification settings - Fork 29
30 lines (27 loc) · 873 Bytes
/
Test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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: '9.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 --blame-hang-timeout 10s -v d
permissions:
contents: read