-
Notifications
You must be signed in to change notification settings - Fork 33
46 lines (38 loc) · 1.06 KB
/
Copy pathci.yml
File metadata and controls
46 lines (38 loc) · 1.06 KB
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main, dev]
paths-ignore:
- '**.md'
- 'LICENSE'
- '.gitattributes'
- '.gitignore'
- 'CITATION.cff'
- 'llms.txt'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'screenshots/**'
- 'server/**'
- 'src/PlanViewer.Ssms/**'
- 'src/PlanViewer.Ssms.Installer/**'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
cache: true
cache-dependency-path: '**/*.csproj'
- name: Install WASM workload
run: dotnet workload install wasm-tools
- name: Restore solution
run: dotnet restore PlanViewer.sln
- name: Build solution
run: dotnet build PlanViewer.sln -c Release --no-restore
- name: Run tests
run: dotnet test tests/PlanViewer.Core.Tests/PlanViewer.Core.Tests.csproj -c Release --no-build --verbosity normal