-
Notifications
You must be signed in to change notification settings - Fork 78
38 lines (31 loc) · 953 Bytes
/
FSharpTest.yml
File metadata and controls
38 lines (31 loc) · 953 Bytes
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
31
32
33
34
35
36
37
38
name: 'F# Test'
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
Test:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
with:
submodules: 'recursive'
- name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.x'
dotnet-quality: 'preview'
- name: Build Tests # We need it to be able to retry
run: |
dotnet add "Sources/Tests/FSharpWrapperUnitTests" package Microsoft.NET.Test.Sdk # Update is required for GitHubActionsTestLogger to print anything
dotnet add "Sources/Tests/FSharpWrapperUnitTests" package GitHubActionsTestLogger
dotnet build Sources/Tests/FSharpWrapperUnitTests
- name: Test
run: |
dotnet test "Sources/Tests/FSharpWrapperUnitTests" -c Release -l GitHubActions