Skip to content

Commit

Permalink
Revert "add tracking for other tests"
Browse files Browse the repository at this point in the history
This reverts commit ee782f2.
  • Loading branch information
kyle committed Sep 25, 2023
1 parent 200d9fc commit f0325f8
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 217 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/dart_dart2js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,3 @@ jobs:
if: "always() && steps.bootstrap.conclusion == 'success'"
run: dart run build_runner test --release --delete-conflicting-outputs -- -p ${{ matrix.browser }}
working-directory: ${{ inputs.working-directory }}

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.sdk }} ${{ matrix.browser }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: dart_dart2js
framework: dart
flutterDartChannel: ${{ matrix.sdk }}
dartCompiler: dart2js
platform: web
platformVersion: ${{ matrix.browser }}
20 changes: 0 additions & 20 deletions .github/workflows/dart_ddc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,3 @@ jobs:
if: "always() && steps.bootstrap.conclusion == 'success'"
run: dart run build_runner test --delete-conflicting-outputs -- -p ${{ matrix.browser }}
working-directory: ${{ inputs.working-directory }}

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.sdk }} ${{ matrix.browser }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: dart_ddc
framework: dart
flutterDartChannel: ${{ matrix.sdk }}
dartCompiler: ddc
platform: web
platformVersion: ${{ matrix.browser }}
19 changes: 0 additions & 19 deletions .github/workflows/dart_native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,3 @@ jobs:
if: "always() && steps.bootstrap.conclusion == 'success'"
run: dart test --exclude-tags=build
working-directory: ${{ inputs.working-directory }}

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.os }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: dart_native
framework: dart
flutterDartChannel: ${{ matrix.sdk }}
dartCompiler: native
platform-version: ${{ matrix.os }}
18 changes: 0 additions & 18 deletions .github/workflows/dart_vm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,3 @@ jobs:
if: "always() && steps.bootstrap.conclusion == 'success' && steps.testCheck.outputs.hasTests == 'true' && matrix.sdk != 'stable'"
run: dart test --exclude-tags=build
working-directory: ${{ inputs.working-directory }}

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.sdk }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: dart_vm
framework: dart
flutterDartChannel: ${{ matrix.sdk }}
dartCompiler: vm
18 changes: 0 additions & 18 deletions .github/workflows/e2e_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,3 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
script: aft exec --include=${{ inputs.package-name }} -- small=true "<AFT_ROOT>/build-support/integ_test.sh" -d emulator-5554 --retries 1

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: e2e-test (${{ matrix.api-level }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: integration
category: ${{ inputs.package_name }}
workflow-name: e2e_android
framework: flutter
platform: android
platform-version: ${{ matrix.api-level }}
17 changes: 0 additions & 17 deletions .github/workflows/e2e_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,3 @@ jobs:
- name: Run integration tests
timeout-minutes: 60
run: aft exec --include=${{ inputs.package-name }} -- small=true "<AFT_ROOT>/build-support/integ_test_ios.sh" -d test

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: e2e-test
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: integration
category: ${{ inputs.package_name }}
workflow-name: e2e_ios
framework: flutter
platform: ios
17 changes: 0 additions & 17 deletions .github/workflows/e2e_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,3 @@ jobs:
run: |
flutter config --enable-linux-desktop
aft exec --include=${{ inputs.package-name }} -- "<AFT_ROOT>/build-support/integ_test.sh" -d linux
- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: e2e-test
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: integration
category: ${{ inputs.package_name }}
workflow-name: e2e_linux
framework: flutter
platform: linux
17 changes: 0 additions & 17 deletions .github/workflows/e2e_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,3 @@ jobs:
run: |
chromedriver --port=4444 &
aft exec --include=${{ inputs.package-name }} -- "<AFT_ROOT>/build-support/integ_test.sh" -d web-server
- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: e2e-test
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: integration
category: ${{ inputs.package_name }}
workflow-name: e2e_web
framework: flutter
platform: web
17 changes: 0 additions & 17 deletions .github/workflows/e2e_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,3 @@ jobs:
run: |
flutter config --enable-windows-desktop
dart pub global run aft exec --include=${{ inputs.package-name }} -- flutter test integration_test/main_test.dart -d windows
- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: e2e-test
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: integration
category: ${{ inputs.package_name }}
workflow-name: e2e_windows
framework: flutter
platform: windows
18 changes: 0 additions & 18 deletions .github/workflows/flutter_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,3 @@ jobs:
if: inputs.has-native-tests
run: ./gradlew :"${{ inputs.package-name }}":testDebugUnitTest --stacktrace
working-directory: ${{ inputs.example-directory }}/android

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.channel }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: flutter_android
framework: flutter
flutterDartChanne: ${{ matrix.channel }}
platform: android
18 changes: 0 additions & 18 deletions .github/workflows/flutter_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,3 @@ jobs:
-scheme Runner \
-destination "$XCODEBUILD_DESTINATION" | xcpretty
working-directory: ${{ inputs.example-directory }}/ios

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.channel }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: flutter_ios
framework: flutter
flutterDartChanne: ${{ matrix.channel }}
platform: ios
18 changes: 0 additions & 18 deletions .github/workflows/flutter_vm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,3 @@ jobs:
with:
name: golden-failures-${{ matrix.channel }}-${{ matrix.flutter-version }}
path: ${{ inputs.working-directory }}/test/ui/failures/

- name: Log success/failure
if: always()
uses: ./.github/composite_actions/log_cw_metric_wrapper
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

job-status: ${{ job.status }}
job-identifier: test (${{ matrix.channel }}, ${{ matrix.flutter-version }})
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: unit
category: ${{ inputs.package_name }}
workflow-name: flutter_vm
framework: flutter
flutterDartChanne: ${{ matrix.channel }}
flutterVersion: ${{ matrix.flutter-version }}

0 comments on commit f0325f8

Please sign in to comment.