-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from COS301-SE-2024/update/nest-removal
Update/nest removal
- Loading branch information
Showing
334 changed files
with
594 additions
and
12,554 deletions.
There are no files selected for viewing
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
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 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Run Frontend Tests | ||
name: Run Tests | ||
on: | ||
push: | ||
branches: | ||
|
@@ -10,7 +10,7 @@ on: | |
- develop | ||
jobs: | ||
build: | ||
name: Frontend tests | ||
name: Unit | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -22,17 +22,17 @@ jobs: | |
bun-version: latest | ||
- name: Create .env file | ||
run: | | ||
echo AUTH_SECRET=${{ secrets.AUTH_SECRET }} >> src/client/.env | ||
echo TEST_PASSWORD=${{ secrets.TEST_PASSWORD }} >> src/client/.env | ||
echo SENDGRID_RECOVERY=${{ secrets.SENDGRID_RECOVERY }} >> src/client/.env | ||
echo SENDGRID_API_KEY=${{ secrets.SENDGRID_API_KEY }} >> src/client/.env | ||
echo FROM_EMAIL=${{ secrets.FROM_EMAIL }} >> src/client/.env | ||
echo AUTH_SECRET=${{ secrets.AUTH_SECRET }} >> src/.env | ||
echo TEST_PASSWORD=${{ secrets.TEST_PASSWORD }} >> src/.env | ||
echo SENDGRID_RECOVERY=${{ secrets.SENDGRID_RECOVERY }} >> src/.env | ||
echo SENDGRID_API_KEY=${{ secrets.SENDGRID_API_KEY }} >> src/.env | ||
echo FROM_EMAIL=${{ secrets.FROM_EMAIL }} >> src/.env | ||
- name: Install dependencies for the frontend | ||
run: bun install | ||
working-directory: src/client | ||
working-directory: src | ||
- name: Run Frontend Tests | ||
run: npm run test | ||
working-directory: src/client | ||
run: bun run test:coverage | ||
working-directory: src | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|
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 |
---|---|---|
@@ -1,30 +1,10 @@ | ||
# Node.js | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# SvelteKit | ||
/build | ||
|
||
# NestJS | ||
# Files | ||
.env | ||
.env.* | ||
|
||
.aws.* | ||
.aws | ||
|
||
.npm | ||
|
||
.amplify-hosting | ||
|
||
# IDEs and editors | ||
/.vscode | ||
.idea | ||
*.swp | ||
*.swo | ||
|
||
# Directories | ||
build | ||
.vscode | ||
.vercel | ||
|
||
# OS generated files | ||
.DS_Store | ||
Thumbs.db | ||
coverage | ||
.svelte-kit | ||
node_modules |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.