Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
37c1093
To create a PR
LimZiJia Nov 10, 2024
f779a79
Merge branch 'main' into testing
LimZiJia Nov 13, 2024
9fb89f7
Emergency commit
LimZiJia Nov 13, 2024
034f45d
Same as above commit
LimZiJia Nov 13, 2024
f629d13
Add some test cases
LimZiJia Nov 13, 2024
bb1b84e
Merge branch 'main' into testing
LimZiJia Nov 13, 2024
f937785
Fix question page error
LimZiJia Nov 13, 2024
951fe2e
Almost done with questionController
LimZiJia Nov 13, 2024
edccb92
Done with questionController.spec.ts
LimZiJia Nov 13, 2024
bbb92c0
Question Service tests
LimZiJia Nov 13, 2024
26ed8d2
All testing files for question service
LimZiJia Nov 13, 2024
b34ea76
Fix Lint
LimZiJia Nov 13, 2024
17fe9b4
Collab Service tests
LimZiJia Nov 13, 2024
c151c1a
Try fix ts
LimZiJia Nov 13, 2024
1fcf10a
Another try at ts
LimZiJia Nov 13, 2024
8c099a6
Edit package.json of question
LimZiJia Nov 13, 2024
27283a4
Pls work for collab now
LimZiJia Nov 13, 2024
15229ce
Edit workflow to add tests
LimZiJia Nov 13, 2024
4f4263f
Trying out something
LimZiJia Nov 13, 2024
730b0df
Fix Linting
LimZiJia Nov 13, 2024
7731a4e
Pray
LimZiJia Nov 13, 2024
37e1935
Desperate Measures
LimZiJia Nov 13, 2024
b0a6d4f
Merge branch 'main' into testing
LimZiJia Nov 13, 2024
89cab45
Remove empty testing files in user service
McNaBry Nov 14, 2024
654f45a
Fix history tests
samuelim01 Nov 14, 2024
976d95e
Fix question tests
samuelim01 Nov 14, 2024
bd64399
Simplify history tests
samuelim01 Nov 14, 2024
70a83da
Remove dotenv
samuelim01 Nov 14, 2024
5efa990
Attempt to fix question
samuelim01 Nov 14, 2024
229bed3
Fix collab tests
samuelim01 Nov 14, 2024
95a670e
Try fix
samuelim01 Nov 14, 2024
e3ff28e
Oops
samuelim01 Nov 14, 2024
f29bc40
Remove package-lock
samuelim01 Nov 14, 2024
95246ca
Remove dotenv
samuelim01 Nov 14, 2024
4b440a3
Tidy history tests
samuelim01 Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
service: [frontend, services/question, services/user, services/match, services/collaboration]
service: [frontend, services/user, services/match]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
Expand All @@ -38,20 +38,24 @@ jobs:
run: cd ${{ matrix.service }} && npm run build


build-history:
build-service-and-test:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
service: [services/question, services/collaboration, services/history]
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
- name: Install Node Modules
run: cd services/history && npm ci
run: cd ${{ matrix.service }} && npm ci
- name: Linting
run: cd services/history && npm run lint
run: cd ${{ matrix.service }} && npm run lint
- name: Build App
run: cd services/history && npm run build
run: cd ${{ matrix.service }} && npm run build
- name: Run tests
run: cd services/history && npm run test
run: cd ${{ matrix.service }} && npm run test
Loading