Skip to content

Commit

Permalink
Setup POC CI
Browse files Browse the repository at this point in the history
Skip Angular and React e2e tests

Disable rn and docs test too
  • Loading branch information
wlee221 committed Jul 14, 2023
1 parent 6981696 commit c33292f
Show file tree
Hide file tree
Showing 3 changed files with 414 additions and 414 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# (2) On every commit to the PR
# (3) Adding run-tests label to the PR

name: Test / Internal PRs
name: POC / Test / Vue Refactor

concurrency:
group: test-internal-prs-${{ github.event.pull_request.id }}
cancel-in-progress: true

on:
pull_request:
branches: [main]
branches: [vue-refactor/main]
types: [opened, synchronize, labeled]

jobs:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

setup-cache:
needs: setup
uses: aws-amplify/amplify-ui/.github/workflows/reusable-setup-cache.yml@main
uses: ./.github/workflows/reusable-setup-cache.yml
with:
commit: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.repository }}
Expand Down Expand Up @@ -130,14 +130,14 @@ jobs:
run: yarn license

unit:
uses: aws-amplify/amplify-ui/.github/workflows/reusable-unit.yml@main
uses: ./.github/workflows/reusable-unit.yml
needs: setup-cache
with:
commit: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.repository }}

e2e:
uses: aws-amplify/amplify-ui/.github/workflows/reusable-e2e.yml@main
uses: ./.github/workflows/reusable-e2e.yml
needs: unit
with:
commit: ${{ github.event.pull_request.head.sha }}
Expand Down
Loading

0 comments on commit c33292f

Please sign in to comment.