Skip to content

Commit

Permalink
Force test - deterine why null failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle committed Oct 3, 2023
1 parent 56bdfe8 commit 1baa870
Show file tree
Hide file tree
Showing 10 changed files with 140 additions and 486 deletions.
119 changes: 71 additions & 48 deletions .github/composite_actions/log_cw_metric/dist/main.cjs

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions .github/composite_actions/log_cw_metric/dist/main.cjs.map

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions .github/workflows/AAA_test_broken_subtests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Amplify Canaries
on: push

# Cancels in-progress job when there is another push to same ref.
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# TEMP TEST
# Hardcoding log metric's job id to see why null exception is happening here:
# https://github.com/fjnoyp/amplify-flutter/actions/runs/6351773238/job/17253675525

jobs:
# Ensure an app pulling in published Amplify libraries can build properly
build:
runs-on: macos-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
channel:
- "beta"
- "stable"
flutter-version:
- "any" # latest
include:
- channel: "stable"
flutter-version: "3.10.1"
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0
with:
persist-credentials: false

- 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 }}
github-token: ${{ secrets.GITHUB_TOKEN }}

test-type: canary
package-name: amplify_canaries

framework: flutter
flutter-dart-channel: ${{ matrix.channel }}
flutter-version: ${{ matrix.flutter-version }}
26 changes: 0 additions & 26 deletions .github/workflows/amplify_analytics_pinpoint copy.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/amplify_analytics_pinpoint_android copy.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/amplify_analytics_pinpoint_dart copy.yaml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/amplify_analytics_pinpoint_example copy.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/amplify_auth_cognito_test copy.yaml

This file was deleted.

Loading

0 comments on commit 1baa870

Please sign in to comment.