Skip to content

Commit 778c66e

Browse files
mattsp1290claude
andcommitted
ci: add Dart SDK tests to GitHub Actions workflow
Add Dart SDK test job to run tests on every push and PR. Includes: - Dart stable SDK setup - Pub cache for faster builds - Test execution with expanded reporter for detailed output 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 1763855 commit 778c66e

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,33 @@ jobs:
8989

9090
- name: Run tests
9191
working-directory: typescript-sdk
92-
run: pnpm run test
92+
run: pnpm run test
93+
94+
dart:
95+
name: Dart SDK Tests
96+
runs-on: ubuntu-latest
97+
98+
steps:
99+
- name: Checkout code
100+
uses: actions/checkout@v4
101+
102+
- name: Set up Dart
103+
uses: dart-lang/setup-dart@v1
104+
with:
105+
sdk: stable
106+
107+
- name: Setup pub cache
108+
uses: actions/cache@v4
109+
with:
110+
path: ~/.pub-cache
111+
key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }}
112+
restore-keys: |
113+
${{ runner.os }}-dart-
114+
115+
- name: Install dependencies
116+
working-directory: sdks/community/dart
117+
run: dart pub get
118+
119+
- name: Run tests
120+
working-directory: sdks/community/dart
121+
run: dart test --reporter expanded

0 commit comments

Comments
 (0)