Skip to content
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

tempTests #10

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/amplify_analytics_pinpoint_dart copy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Generated with aft. To update, run: `aft generate workflows`
name: aaa_amplify_analytics_pinpoint_dart
on:
workflow_dispatch:
push:
pull_request:
paths:
- ".github/composite_actions/setup_firefox/action.yaml"
- ".github/workflows/amplify_analytics_pinpoint_dart.yaml"
- ".github/workflows/amplify_analytics_pinpoint_dart copy.yaml"
- ".github/workflows/dart_dart2js.yaml"
- ".github/workflows/dart_ddc.yaml"
- ".github/workflows/dart_native.yaml"
- ".github/workflows/dart_vm.yaml"
- "packages/amplify_core/lib/**/*.dart"
- "packages/amplify_core/pubspec.yaml"
- "packages/amplify_lints/lib/**/*.yaml"
- "packages/amplify_lints/pubspec.yaml"
- "packages/analytics/amplify_analytics_pinpoint_dart/**/*.dart"
- "packages/analytics/amplify_analytics_pinpoint_dart/**/*.yaml"
- "packages/analytics/amplify_analytics_pinpoint_dart/lib/**/*"
- "packages/analytics/amplify_analytics_pinpoint_dart/test/**/*"
- "packages/aws_common/lib/**/*.dart"
- "packages/aws_common/pubspec.yaml"
- "packages/aws_signature_v4/lib/**/*.dart"
- "packages/aws_signature_v4/pubspec.yaml"
- "packages/common/amplify_db_common_dart/lib/**/*.dart"
- "packages/common/amplify_db_common_dart/pubspec.yaml"
- "packages/secure_storage/amplify_secure_storage_dart/lib/**/*.dart"
- "packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml"
- "packages/smithy/smithy/lib/**/*.dart"
- "packages/smithy/smithy/pubspec.yaml"
- "packages/smithy/smithy_aws/lib/**/*.dart"
- "packages/smithy/smithy_aws/pubspec.yaml"
- "packages/worker_bee/worker_bee/lib/**/*.dart"
- "packages/worker_bee/worker_bee/pubspec.yaml"
- "packages/worker_bee/worker_bee_builder/lib/**/*.dart"
- "packages/worker_bee/worker_bee_builder/pubspec.yaml"
schedule:
- cron: "0 6 * * *" # Every day at 06:00
defaults:
run:
shell: bash

permissions: read-all

# 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

jobs:
test:
uses: ./.github/workflows/dart_vm copy.yaml
with:
package-name: amplify_analytics_pinpoint_dart
working-directory: packages/analytics/amplify_analytics_pinpoint_dart
34 changes: 34 additions & 0 deletions .github/workflows/dart_vm copy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Dart (VM)
on:
workflow_call:
inputs:
package-name:
description: The name of the package being tested
required: true
type: string
working-directory:
description: The working directory relative to the repo root
required: true
type: string

jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
# Allows other matrix items to run if one fails
fail-fast: false
matrix:
sdk:
# Minimum supported Dart version
- "3.0.1"
- stable
- beta
# Skips 'beta' tests on PRs
exclude:
- sdk: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }}
steps:
- name: Verify you were run
run: |
echo "Matrix values: ${{ matrix.sdk }} excluding: ${{ matrix.exclude }} eventName: ${{ github.event_name }}"
Loading