-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 824 Bytes
/
Copy pathtests.yml
File metadata and controls
37 lines (32 loc) · 824 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
name: Tests
on:
pull_request:
push:
branches: [main]
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
dotnet-tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Generators
path: Aspid.FastTools.Generators
- name: Analyzers
path: Aspid.FastTools.Analyzers
steps:
- uses: actions/checkout@v4
with:
submodules: true
# The test projects target net6.0; the 8.0 SDK builds them, the 6.0 runtime runs them.
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
- name: Run ${{ matrix.name }} tests
run: dotnet test "${{ matrix.path }}" --nologo