-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(infra): changing the implementation of the isolated database env…
…ironment for e2e tests Implemented a vitest environment for the Prisma database. Configuration in 'setup-e2e.ts'. Installed npm-run-all for e2e test scripts and changed scripts in package.json. Creating ci file for e2e tests and changed ci file for unit tests.
- Loading branch information
1 parent
bfba89d
commit c3501bc
Showing
10 changed files
with
416 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Run e2e tests | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Run unit tests] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
e2e-tests: | ||
if: github.event.workflow_run.conclusion == 'success' | ||
name: Run e2e tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'latest' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run e2e tests | ||
run: npm run test:e2e |
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
Oops, something went wrong.