Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
ebb367f
Add unit tests for API layer
umeshmore45 Feb 19, 2026
da31b30
Add GitHub Actions workflows for Jira ticket creation, security polic…
umeshmore45 Feb 19, 2026
d5be322
Add GitHub Actions workflows for Jira ticket creation, security polic…
umeshmore45 Feb 19, 2026
9a8886f
Remove unused validator files from Vitest configuration to streamline…
umeshmore45 Feb 19, 2026
43a2a33
Enhance testing setup and coverage for UI components
umeshmore45 Feb 19, 2026
8e2d7b7
These changes enhance the testing framework for the upload-api, ensur…
umeshmore45 Feb 19, 2026
36df304
Update GitHub Actions workflow to use npm ci with legacy-peer-deps fo…
umeshmore45 Feb 19, 2026
4ce0b07
Update GitHub Actions workflow to use npm install instead of npm ci f…
umeshmore45 Feb 19, 2026
01614ee
Enhance unit tests by adding beforeAll hook and importing vi from Vitest
umeshmore45 Feb 19, 2026
5214008
Fix CI: regenerate ui package-lock.json and use --legacy-peer-deps in…
umeshmore45 Feb 20, 2026
f753cd2
Update unit tests for VALIDATION_DOCUMENTATION_URL to reflect correct…
umeshmore45 Feb 23, 2026
fea3941
Update package-lock.json to include new dependencies and remove outda…
umeshmore45 Feb 23, 2026
57c3209
Merge branch 'dev' into feat/add-unit-tests
umeshmore45 Feb 23, 2026
3802bd0
Merge branch 'dev' into feat/add-unit-tests
umeshmore45 Feb 24, 2026
99c22e9
Merge branch 'dev' into feat/add-unit-tests
umeshmore45 Mar 3, 2026
8d854f4
Update package dependencies and versions across multiple modules
umeshmore45 Mar 6, 2026
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
68 changes: 68 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Unit Tests & Coverage

on:
push:
branches: [main, pre-stage, dev]
pull_request:

jobs:
test-api:
runs-on: ubuntu-latest
defaults:
run:
working-directory: api
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: api/package-lock.json
- run: npm ci
- run: npm install @rollup/rollup-linux-x64-gnu --no-save
- run: npm run test:coverage
- uses: actions/upload-artifact@v4
if: always()
with:
name: api-coverage-report
path: api/coverage/

test-ui:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ui
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: ui/package-lock.json
- run: npm ci --legacy-peer-deps
- run: npm run test:coverage
- uses: actions/upload-artifact@v4
if: always()
with:
name: ui-coverage-report
path: ui/coverage/

test-upload-api:
runs-on: ubuntu-latest
defaults:
run:
working-directory: upload-api
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: upload-api/package-lock.json
- run: npm install --legacy-peer-deps
- run: npm run test:coverage
- uses: actions/upload-artifact@v4
if: always()
with:
name: upload-api-coverage-report
path: upload-api/coverage/
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -367,3 +367,6 @@ app.json
*MigrationData*
*.zip
app.json

# Test coverage (global)
coverage/
3 changes: 2 additions & 1 deletion api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -367,4 +367,5 @@ database/
/migration-data
**/copy*
**copy.ts
manifest.json
manifest.json
coverage/
Loading