-
Notifications
You must be signed in to change notification settings - Fork 16
ci: run tests #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: run tests #29
Changes from all commits
43c6319
bd036b7
e5776f8
ef3ddff
85242e9
933da7f
3c8d39f
db5a7b8
3df9633
7cb0b4d
75f1f9b
407aa6f
192b6ae
10a6ab1
8969ff9
1a12d24
44f130f
54ae409
60a3147
c074e5f
11fada1
ad7fb9b
754e0d2
39485a3
afc50ca
9d89368
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| name: ci | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| test: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| name: 🧪 Test | ||
|
|
||
| env: | ||
| FLUTTER_STORAGE_BASE_URL: https://download.shorebird.dev | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Huh. Wild to see us explicitly set this. I wonder if we would rather wrap/fork the flutter script instead?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seemed like the least invasive way since it will result in fewer merge conflicts over time but happy to change the script itself |
||
|
|
||
| steps: | ||
| - name: 📚 Git Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: 🎯 Setup Dart | ||
| uses: dart-lang/setup-dart@v1 | ||
|
|
||
| - name: 📦 Install Dependencies | ||
| run: | | ||
| dart pub get -C ./dev/bots | ||
| dart pub get -C ./dev/tools | ||
|
|
||
| - name: 🧪 Run Tests | ||
| run: dart ./dev/bots/test.dart | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly ubuntu is fine to start, but if the other two are easy/useful OK to leave them.