Skip to content

Commit f9e39c3

Browse files
authored
test(cli): Update tests for latest changes (#458)
- Updates pinned Flutter SDK - Fixes cloud hub build - Ensure grpc is <4.2.0 (latest version exports Any -- needs changes)
1 parent 44261d5 commit f9e39c3

File tree

41 files changed

+286
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+286
-264
lines changed

.github/workflows/celest_cli.e2e.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
os:
32-
- ubuntu-latest
32+
- ubuntu-large
3333
- macos-latest
34-
- windows-latest
34+
# - windows-latest
3535
runs-on: ${{ matrix.os }}
3636
timeout-minutes: 45
3737
steps:
@@ -41,6 +41,8 @@ jobs:
4141
uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e # 2.21.0
4242
with:
4343
cache: true
44+
flutter-version: 3.35.0-0.3.pre # TODO: Remove when beta channel is back to normal
45+
channel: beta # Remove when native assets is available in stable
4446
- name: Setup Deps
4547
if: runner.os == 'Linux'
4648
run: tool/setup-ci.sh

.github/workflows/celest_cli.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
os:
3232
- ubuntu-large
3333
- macos-latest-xlarge
34-
- windows-large
34+
# - windows-large
3535
runs-on: ${{ matrix.os }}
3636
timeout-minutes: 45
3737
steps:
@@ -41,10 +41,8 @@ jobs:
4141
uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e # 2.21.0
4242
with:
4343
cache: true
44-
# Because many golden tests encode the precise Dart/Flutter SDKs used to generate
45-
# them, these values must be consistently used when running tests locally and in CI.
46-
flutter-version: 3.35.1
47-
channel: stable
44+
flutter-version: 3.35.0-0.3.pre # TODO: Remove when beta channel is back to normal
45+
channel: beta # Remove when native assets is available in stable
4846
- name: Setup Libsecret
4947
if: runner.os == 'Linux'
5048
run: tool/setup-ci.sh
@@ -53,7 +51,7 @@ jobs:
5351
run: dart pub upgrade
5452
- name: Test
5553
working-directory: apps/cli
56-
run: dart test -x e2e --fail-fast -j 1 --reporter=failures-only
54+
run: dart test -x e2e --fail-fast -j8 --reporter=failures-only
5755
- name: Test (Fixtures)
5856
working-directory: apps/cli
5957
run: dart test fixtures/fixtures_test.dart --fail-fast -j 1 --reporter=failures-only

0 commit comments

Comments
 (0)