20
20
submodules : true
21
21
fetch-depth : 0
22
22
23
+ - name : earthly +build
24
+ if : github.ref != 'refs/heads/main'
25
+ run : earthly --strict +build
26
+
23
27
- name : earthly +test
24
28
if : github.ref != 'refs/heads/main'
25
29
run : earthly --strict +test
@@ -34,18 +38,18 @@ jobs:
34
38
35
39
- uses : actions/upload-artifact@v4
36
40
with :
37
- name : ModuleBuilder
38
- path : Modules/ModuleBuilder
41
+ name : ErrorView
42
+ path : Modules/ErrorView
39
43
40
44
- uses : actions/upload-artifact@v4
41
45
with :
42
46
name : TestResults
43
- path : Modules/ModuleBuilder -TestResults
47
+ path : Modules/ErrorView -TestResults
44
48
45
49
- uses : actions/upload-artifact@v4
46
50
with :
47
51
name : Packages
48
- path : Modules/ModuleBuilder -Packages
52
+ path : Modules/ErrorView -Packages
49
53
50
54
- name : Upload Tests
51
55
uses : actions/upload-artifact@v4
68
72
- name : Download Build Output
69
73
uses : actions/download-artifact@v4
70
74
with :
71
- name : ModuleBuilder
72
- path : Modules/ModuleBuilder
75
+ name : ErrorView
76
+ path : Modules/ErrorView
73
77
- name : Download Pester Tests
74
78
uses : actions/download-artifact@v4
75
79
with :
@@ -83,15 +87,15 @@ jobs:
83
87
- uses : PoshCode/Actions/install-requiredmodules@v1
84
88
- uses : PoshCode/Actions/pester@v1
85
89
with :
86
- codeCoveragePath : Modules/ModuleBuilder
87
- moduleUnderTest : ModuleBuilder
90
+ codeCoveragePath : Modules/ErrorView
91
+ moduleUnderTest : ErrorView
88
92
additionalModulePaths : ${{github.workspace}}/Modules
89
93
- name : Publish Test Results
90
94
uses : zyborg/dotnet-tests-report@v1
91
95
with :
92
96
test_results_path : results.xml
93
97
- name : Upload Results
94
- uses : actions/upload-artifact@v2
98
+ uses : actions/upload-artifact@v4
95
99
with :
96
100
name : Pester Results
97
101
path : ${{github.workspace}}/*.xml
0 commit comments