This repository was archived by the owner on Jul 16, 2024. It is now read-only.
generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 43
49 lines (49 loc) · 1.45 KB
/
e2e.yml
File metadata and controls
49 lines (49 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: E2E
on:
push:
branches:
- "test/e2e"
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write # needed to interact with GitHub's OIDC Token endpoint.
contents: read
strategy:
matrix:
suite: [data-lake, synchronous, emr-eks]
fail-fast: false
env:
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Setup Node 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Setup Java 11
uses: actions/setup-java@v2
with:
distribution: 'zulu' # OpenJDK
java-version: '11'
- name: Install dependencies
run: cd core && yarn install --check-files --frozen-lockfile
- name: Set git identity
run: |-
git config user.name "Automation"
git config user.email "github-actions@github.com"
- name: Build
run: cd core && npx projen build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1.6.1
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN_TO_ASSUME }}
aws-region: us-east-1
- name: E2E
run: cd core && npx jest --group=integ/${{ matrix.suite }}
container:
image: jsii/superchain:1-buster-slim-node14