Skip to content

Commit 5c47c2d

Browse files
committed
Update build VMs to ubuntu-latest
I've also removed the `needs: windows-tests` from the Ubuntu Unit Tests job, which also lets the Unit Tests job run concurrently with the Windows unit tests job. type: chore scope: dependencies
1 parent 32c3d8c commit 5c47c2d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build-and-test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build/Test Pipeline
22

33
on:
44
push:
5-
branches: [ master, setup-github-actions ]
5+
branches: [ master ]
66
paths-ignore:
77
- 'docs/wiki'
88
- '.gitmodules'
@@ -87,9 +87,8 @@ jobs:
8787

8888
test:
8989
name: "Unit tests"
90-
runs-on: ubuntu-22.04
91-
# Do not run this job until the build job completes
92-
needs: test-windows
90+
runs-on: ubuntu-latest
91+
needs: build
9392
environment: "Unit test environment"
9493

9594
env:
@@ -145,8 +144,10 @@ jobs:
145144

146145
publish:
147146
name: "Publish prerelease packages"
148-
runs-on: ubuntu-22.04
149-
needs: test
147+
runs-on: ubuntu-latest
148+
needs:
149+
- test-windows
150+
- test
150151
environment: "Prerelease deployment environment"
151152
# Only publish prerelease packages on the master branch
152153
if: ${{ github.ref_name == 'master' }}

0 commit comments

Comments
 (0)