Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2c25f59

Browse files
committedDec 12, 2023
Build and test in one step (since the build isn't fully incremental)
Also upload all OS builds and bump build verbosity.
1 parent 6287000 commit 2c25f59

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed
 

‎.github/workflows/ci-test.yml

Lines changed: 5 additions & 7 deletions
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'

‎PowerShellEditorServices.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ param(
1313

1414
[string]$DefaultModuleRepository = "PSGallery",
1515

16-
[string]$Verbosity = "quiet",
16+
[string]$Verbosity = "minimal",
1717

1818
# See: https://docs.microsoft.com/en-us/dotnet/core/testing/selective-unit-tests
1919
[string]$TestFilter = '',

0 commit comments

Comments
 (0)
Please sign in to comment.