forked from avengineers/SPLed
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.1 KB
/
test.yml
File metadata and controls
44 lines (40 loc) · 1.1 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
name: CI
on:
push:
branches: [develop]
pull_request:
branches: [develop]
workflow_dispatch:
jobs:
test:
name: CI Gate
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Installation of Dependencies and Execute Tests
env:
# Workaround to force usage of scoop apps installed in $env:USERPROFILE
USER_PATH_FIRST: 1
run: |
.\build.ps1 -install
.\build.ps1 -selftests -marker "build_debug or reports"
shell: powershell
- name: Deploy Test Results
uses: EnricoMi/publish-unit-test-result-action/windows@v2
if: always()
with:
files: |
test/output/test-report.xml
build/**/junit.xml
- name: Deploy Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
retention-days: 90
path: |
build/**/*.7z
build/**/pr_changes.json
if-no-files-found: error