Skip to content

Commit

Permalink
chore: clean up test code
Browse files Browse the repository at this point in the history
  • Loading branch information
0.618 committed Apr 25, 2024
1 parent e55c269 commit 58a7f3c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
17 changes: 6 additions & 11 deletions codebuild_specs/e2e_workflow_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ env:
AMPLIFY_DIR: "$CODEBUILD_SRC_DIR/out"
AMPLIFY_PATH: "$CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64"

phases:
pre_build:
commands:
- echo 'Source Version - $CODEBUILD_RESOLVED_SOURCE_VERSION'

batch:
fast-fail: false
build-graph:
Expand All @@ -37,12 +32,12 @@ batch:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
# - identifier: lint
# buildspec: codebuild_specs/lint.yml
# depend-on:
# - build_linux
# env:
# compute-type: BUILD_GENERAL1_LARGE
- identifier: lint
buildspec: codebuild_specs/lint.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: mock_e2e_tests
buildspec: codebuild_specs/mock_e2e_tests.yml
depend-on:
Expand Down
10 changes: 6 additions & 4 deletions codebuild_specs/e2e_workflow_generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ env:
CDK_DEFAULT_REGION: us-east-1
AMPLIFY_DIR: $CODEBUILD_SRC_DIR/out
AMPLIFY_PATH: $CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64
phases:
pre_build:
commands:
- echo 'Source Version - $CODEBUILD_RESOLVED_SOURCE_VERSION'
batch:
fast-fail: false
build-graph:
Expand All @@ -36,6 +32,12 @@ batch:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: lint
buildspec: codebuild_specs/lint.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: mock_e2e_tests
buildspec: codebuild_specs/mock_e2e_tests.yml
depend-on:
Expand Down

0 comments on commit 58a7f3c

Please sign in to comment.