-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (39 loc) · 1005 Bytes
/
testing.yml
File metadata and controls
47 lines (39 loc) · 1005 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
39
40
41
42
43
44
45
46
47
name: Testing
on:
push:
branches:
- '*'
paths-ignore:
- '.github/workflows/**'
- '**.md'
- '**.docx'
- '**.bat'
- '**.vssettings'
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Cache NuGet
uses: actions/cache@v5
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Building
run: |
dotnet build MathCore.DSP -c Debug
dotnet build Tests/MathCore.DSP.Tests -c Debug
- name: Run Tests
run: dotnet test Tests/MathCore.DSP.Tests --no-build -c Debug