-
Notifications
You must be signed in to change notification settings - Fork 819
Expand file tree
/
Copy pathrun_e2e_tests_windows.yml
More file actions
45 lines (44 loc) · 1.7 KB
/
run_e2e_tests_windows.yml
File metadata and controls
45 lines (44 loc) · 1.7 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
version: 0.2
env:
shell: powershell.exe
variables:
TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts|src/__tests__/auth_2f.test.ts
CI: true
CIRCLECI: true
IS_AMPLIFY_CI: true
# mock values to test artifact scanning
ENV_VAR_WITH_SECRETS: 'MOCK_ENV_VAR_FOR_SCANNING_SECRETS'
MOCK_ENV_VAR_FOR_SCANNING_SECRETS: 'abc123xyz'
# mock values for credentials below
FACEBOOK_APP_ID: 'fbAppId'
FACEBOOK_APP_SECRET: 'fbAppSecret'
GOOGLE_APP_ID: 'gglAppID'
GOOGLE_APP_SECRET: 'gglAppSecret'
AMAZON_APP_ID: 'amaznAppID'
AMAZON_APP_SECRET: 'amaznAppID'
APPLE_APP_ID: 'com.fake.app'
APPLE_TEAM_ID: '2QLEWNDK6K'
APPLE_KEY_ID: '2QLZXKYJ8J'
# mock value, Cognito validates the private key, this is an invalidated key.
APPLE_PRIVATE_KEY_2: '----BEGIN PRIVATE KEY-----MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgIltgNsTgTfSzUadYiCS0VYtDDMFln/J8i1yJsSIw5g+gCgYIKoZIzj0DAQehRANCAASI8E0L/DhR/mIfTT07v3VwQu6q8I76lgn7kFhT0HvWoLuHKGQFcFkXXCgztgBrprzd419mUChAnKE6y89bWcNw----END PRIVATE KEY----'
phases:
build:
commands:
- git config --global core.longpaths true
- bash ./codebuild_specs/scripts-windows/load-e2e-cache.sh
- bash ./codebuild_specs/scripts-windows/rename-packaged-cli.sh
- bash ./codebuild_specs/scripts-windows/run-e2e-windows.sh
post_build:
commands:
- bash ./codebuild_specs/upload-reports-windows.sh
reports:
e2e-reports:
files:
- '*.xml'
file-format: 'JUNITXML'
base-directory: 'packages/amplify-e2e-tests/reports/junit'
artifacts:
files:
- '$E2E_TEST_COVERAGE_DIR/*'
- amplify-e2e-reports/*
base-directory: packages/amplify-e2e-tests/