-
Notifications
You must be signed in to change notification settings - Fork 156
chore: run e2e tests on demand #441
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
c3b427d
add AWS infra to run E2E tests
flochaz 27bfa90
Fix e2e tests and add missing scripts
flochaz cd7b015
split workflow
flochaz 7015f64
Fix region and account setting for tracing e2e
flochaz d1acd31
add log to tracing e2e
flochaz b367d80
alternative to get account
flochaz 52a20d8
revert increase timeout
flochaz c0a4301
remove test trigger
flochaz 38fdb75
remove aws-infra
flochaz ea45fdf
add Contributing
flochaz bdf800f
fix on merge
flochaz e3a83ce
chore: added jest group runner dep + config + headers to logger
dreamorosi 6db56fa
chore: added group filter in regular cmd tests for logger
dreamorosi 6046c08
Add manual command for get trace summary
flochaz 08e8050
Merge remote-tracking branch 'origin/main' into chore/cicd/automateIn…
flochaz ff9a87f
Update CONTRIBUTING.md
flochaz 13103b8
Update CONTRIBUTING.md
flochaz 3a189ba
Update CONTRIBUTING.md
flochaz 5fbdc66
Update CONTRIBUTING.md
flochaz f86e54f
Update CONTRIBUTING.md
flochaz 065e538
Update CONTRIBUTING.md
flochaz 29ed2e7
Update CONTRIBUTING.md
flochaz 0cfb133
Update CONTRIBUTING.md
flochaz 92f1183
remove useless steps in owrkflow
flochaz e196ae1
force test run TO BE REVERTED
flochaz 9c1e339
Revert "force test run TO BE REVERTED"
flochaz 33d87f7
Update CONTRIBUTING.md
flochaz 19c10c4
Update CONTRIBUTING.md
flochaz f792e5c
Update CONTRIBUTING.md
flochaz ba91ab7
Update CONTRIBUTING.md
flochaz 51677d8
Update CONTRIBUTING.md
flochaz 9f9b6d6
Update .github/workflows/run-e2e-tests.yml
flochaz d0f9736
Update CONTRIBUTING.md
flochaz 530d50d
Update .github/workflows/run-e2e-tests.yml
flochaz df4e51a
Update CONTRIBUTING.md
flochaz 5ff1931
Update CONTRIBUTING.md
flochaz 9d0daa8
Update CONTRIBUTING.md
flochaz 1d22541
Update CONTRIBUTING.md
flochaz 1e4c897
Update CONTRIBUTING.md
flochaz ee00ffc
Update CONTRIBUTING.md
flochaz 57c3bb0
Update CONTRIBUTING.md
flochaz 0de1d03
Update CONTRIBUTING.md
flochaz 64304ce
homogenize tests run process
flochaz 4f62c1a
fix indentation
flochaz 973a9d5
Update CONTRIBUTING.md
dreamorosi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ on: | |
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: run-e2e-tests | ||
on: | ||
workflow_dispatch: {} | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write # needed to interact with GitHub's OIDC Token endpoint. | ||
contents: read | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
######################### | ||
# Release new version | ||
######################### | ||
- name: "Use NodeJS 14" | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- name: Install packages | ||
run: | | ||
npm ci | ||
npm run lerna-ci | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1.6.0 | ||
with: | ||
role-to-assume: ${{ secrets.AWS_ROLE_ARN_TO_ASSUME }} | ||
aws-region: eu-west-1 | ||
- name: Run integration tests | ||
run: npm run lerna-test:e2e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,9 @@ | |
}, | ||
"scripts": { | ||
"commit": "commit", | ||
"test": "jest --detectOpenHandles --coverage --verbose", | ||
"test": "npm run test:unit", | ||
"test:unit": "jest --group=unit --detectOpenHandles --coverage --verbose", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Love it! |
||
"test:e2e": "echo 'Not Applicable'", | ||
"watch": "jest --watch", | ||
"build": "tsc", | ||
"lint": "eslint --ext .ts --fix --no-error-on-unmatched-pattern src tests", | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/logger/tests/unit/config/EnvironmentVariablesService.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/logger/tests/unit/formatter/PowertoolLogFormatter.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.