Skip to content

Commit f4d04e0

Browse files
committed
Build and test in one step (since the build isn't incremental)
And upload all OS builds.
1 parent 58e6211 commit f4d04e0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci-test.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,17 @@ jobs:
3636
7.0.x
3737
- name: Install PSResources
3838
run: tools/installPSResources.ps1
39-
- name: Build
40-
run: Invoke-Build Build
39+
- name: Build and test
40+
run: Invoke-Build
4141
- name: Upload build artifacts
42+
if: always()
4243
uses: actions/upload-artifact@v3
43-
if: matrix.os == 'windows-latest'
4444
with:
45-
name: PowerShellEditorServices
45+
name: PowerShellEditorServices-module-${{ matrix.os }}
4646
path: module
47-
- name: Run tests
48-
run: Invoke-Build Test
4947
- name: Upload test results
5048
uses: actions/upload-artifact@v3
5149
if: always()
5250
with:
53-
name: ${{ matrix.os }}-test-results
51+
name: PowerShellEditorServices-test-results-${{ matrix.os }}
5452
path: '**/*.trx'

0 commit comments

Comments
 (0)