-
-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (49 loc) · 1.42 KB
/
Copy pathci.yml
File metadata and controls
60 lines (49 loc) · 1.42 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Build and test every push to master and every pull request.
# Release artifacts are produced by release.yml; docs by docs.yml.
name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: Build & test (win-x64)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x
- name: Set up Node 24
uses: actions/setup-node@v7
with:
node-version: 24
- name: Restore
run: dotnet restore CSharp_BatchConvertToCHD.sln
- name: Build
run: dotnet build CSharp_BatchConvertToCHD.sln -c Release --no-restore
- name: Test
run: >
dotnet test BatchConvertToCHD.Tests/BatchConvertToCHD.Tests.csproj
-c Release --no-build
--filter "Category!=Integration"
--logger "trx;LogFileName=test-results.trx"
--results-directory TestResults
- name: Verify version script
run: node scripts/ci/version.mjs
- name: Upload test results
if: always()
uses: actions/upload-artifact@v7
with:
name: test-results
path: TestResults
if-no-files-found: ignore