-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add e2e runs to main and next-deployment workflows (#101)
- Loading branch information
1 parent
3f945dc
commit 3c690c0
Showing
20 changed files
with
326 additions
and
171 deletions.
There are no files selected for viewing
This file contains 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 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 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,14 @@ | ||
name: PR Title Check | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
|
||
jobs: | ||
check-pr-title: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 @@ | ||
PORT=$PORT |
This file contains 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 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 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 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,31 @@ | ||
# ADR003: E2E Test Strategy | ||
|
||
## Status | ||
|
||
accepted | ||
|
||
## Context | ||
|
||
There is the need to run E2Es automatically in the pipeline to test our whole | ||
application. We had no strategy on what and where to do any end-to-end testing. | ||
|
||
## Decision | ||
|
||
- We are only end-to-end testing our SPA application because: | ||
- 1. it reduces the complexity of the whole project, | ||
- 2. there is no value in having API E2Es while the SPA E2E cover all | ||
functionality, | ||
- 3. we ship only one bundle and therefore do not need regression tests for | ||
multiple API versions. | ||
- For PRs, we run against a "locally" (in the pipeline) started instance of the | ||
SPA and the API Project. | ||
- For pushes into main, we test against the next deployment on our Azure | ||
Infrastructure. | ||
|
||
## Consequences | ||
|
||
We do not have an explicit end-to-end coverage of the API in exchange for faster | ||
development and less test maintenance. The complete pipeline with interceptors | ||
etc. of the API will not be tested explicitly. With enough unit tests and the | ||
end-to-end tests from the SPA project which consumes the API, there should be | ||
enough coverage for both projects. |
Oops, something went wrong.