-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (23 loc) · 650 Bytes
/
Copy pathtests.yml
File metadata and controls
27 lines (23 loc) · 650 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
name: .NET Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test MultiCache
run: dotnet test --no-build tests/MultiCache.Tests/MultiCache.Tests.csproj
- name: Test MultiCache
run: dotnet test --no-build tests/MultiCache.StackExchangeRedis.Tests/MultiCache.StackExchangeRedis.Tests.csproj