-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: channel compatibility workflow (#123)
* ci: add compat job * add install step * add comma * tweak triggers * separate failures into channel specific uploads * check all stable versions * disable fail fast * check all 3.22.x versions * use channels * use channel in flutter step * add padding * chore: Updating Goldens * add flags to flutter --version * disable analytics on CI * disable CLI animations * remove some padding to see if that helps * add back childKey * chore: Updating Goldens * add padding to network image smoke * Re-run CI after updating goldens * use TextButton * chore: Updating Goldens * Re-run CI after updating goldens * cleanup * rm ref to current branch
- Loading branch information
1 parent
5d609ae
commit 5139917
Showing
19 changed files
with
94 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Compatibility Check | ||
|
||
on: | ||
schedule: | ||
# Run daily at 00:00 UTC | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
channel: ['stable', 'beta'] | ||
|
||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2.16.0 | ||
with: | ||
channel: ${{ matrix.channel }} | ||
cache: true | ||
|
||
- name: Install Dependencies | ||
run: flutter packages get | ||
|
||
- name: Disable animations | ||
run: flutter config --no-cli-animations | ||
|
||
- name: Run tests | ||
run: | | ||
flutter test --no-pub --coverage --test-randomize-ordering-seed=random | ||
- name: Upload failures | ||
if: failure() | ||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | ||
with: | ||
name: "golden_failures_${{ matrix.channel }}" | ||
path: | | ||
**/failures/**/*.png | ||
- name: Notify failure | ||
if: failure() | ||
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 #v1.27.0 | ||
with: | ||
payload: | | ||
{ | ||
"message": "Heads up! Alchemist smoke tests failed on the ${{ matrix.channel }} channel. Check them out and determine root cause.", | ||
"job_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.MOBILE_OSS_SLACK_WEBHOOK }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-69 Bytes
(83%)
test/smoke_tests/goldens/3.16.0/ci/asset_image_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-71 Bytes
(74%)
test/smoke_tests/goldens/3.16.0/ci/back_button_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-75 Bytes
(88%)
test/smoke_tests/goldens/3.16.0/ci/composited_transform_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-295 Bytes
(99%)
test/smoke_tests/goldens/3.16.0/ci/constrained_big_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-142 Bytes
(82%)
test/smoke_tests/goldens/3.16.0/ci/error_message_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-538 Bytes
(57%)
test/smoke_tests/goldens/3.16.0/ci/interactions_smoke_test_long_pressed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-859 Bytes
(46%)
test/smoke_tests/goldens/3.16.0/ci/interactions_smoke_test_pressed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-538 Bytes
(57%)
test/smoke_tests/goldens/3.16.0/ci/interactions_smoke_test_regular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-104 Bytes
(94%)
test/smoke_tests/goldens/3.16.0/ci/render_object_text_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-191 Bytes
(74%)
test/smoke_tests/goldens/3.16.0/ci/timer_button_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-70 Bytes
(100%)
test/smoke_tests/goldens/3.16.0/ci/unconstrained_smoke_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters