Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7bb73a2
chore: update package-lock
lukasz-hycom Jan 30, 2026
4a8489e
chore: add AGENTS.md, CLAUDE.md, and .claude to .gitignore
lukasz-hycom Jan 30, 2026
3652b34
feat(zendesk): add testing support with Vitest and implement unit tes…
lukasz-hycom Jan 30, 2026
9f8cb8e
Merge branch 'main' of https://github.com/o2sdev/openselfservice into…
lukasz-hycom Jan 30, 2026
4d922a3
feat(algolia): add Vitest support and implement unit tests for Search…
lukasz-hycom Feb 2, 2026
62e0948
feat(redis): add Vitest support and implement unit tests for RedisCac…
lukasz-hycom Feb 2, 2026
6c695b5
Merge remote-tracking branch 'origin/main' into feature/unit-tests-fo…
marcinkrasowski Feb 2, 2026
3222fc8
chore(deps): updated lock file
marcinkrasowski Feb 2, 2026
0e06bf2
chore(deps): enable test coverage and update lock file with new depen…
marcinkrasowski Feb 2, 2026
c3b647d
chore(ci): configure additional coverage reporters and optimize cover…
marcinkrasowski Feb 2, 2026
2769262
feat(medusajs): add Vitest configuration and implement unit tests for…
lukasz-hycom Feb 3, 2026
6d44cd9
chore(ci): add script for merging coverage-summary files and update r…
marcinkrasowski Feb 3, 2026
8ff44b3
fix(medusajs): correct total count in mapServices and update error me…
lukasz-hycom Feb 3, 2026
39c1c72
Merge branch 'feature/unit-tests-for-integrations' of https://github.…
lukasz-hycom Feb 3, 2026
9dc1b31
feat(tests): add Vitest configuration and unit tests for Contentful a…
lukasz-hycom Feb 3, 2026
f11a0f6
fix(graphql): update import path for Strapi generated types
lukasz-hycom Feb 4, 2026
d22cfbf
Merge branch 'main' of https://github.com/o2sdev/openselfservice into…
lukasz-hycom Feb 4, 2026
174b88c
chore(integration-tests): add changeset
lukasz-hycom Feb 4, 2026
f4adc8c
chore(deps): update package-lock file
lukasz-hycom Feb 4, 2026
2a14738
Merge branch 'main' of https://github.com/o2sdev/openselfservice into…
lukasz-hycom Feb 4, 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
10 changes: 10 additions & 0 deletions .changeset/gold-dragons-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@o2s/integrations.contentful-cms': minor
'@o2s/integrations.strapi-cms': minor
'@o2s/integrations.medusajs': minor
'@o2s/integrations.algolia': minor
'@o2s/integrations.zendesk': minor
'@o2s/integrations.redis': minor
---

Across the integrations (Contentful, Strapi, Algolia, Medusa, Redis, Zendesk) tests cover primarily the service and mapper layers (including error handling), verifying configuration, request shaping and delegation to SDK/clients.
37 changes: 37 additions & 0 deletions .github/actions/test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,40 @@ runs:
- name: Test
shell: bash
run: npm run test

- name: Collect coverage
shell: bash
run: npx turbo run collect-json-reports --filter=@o2s/vitest-config

- name: Check for coverage
id: check-coverage
shell: bash
run: |
if ls packages/configs/vitest-config/coverage/raw/*.json 1>/dev/null 2>&1; then
echo "has_coverage=true" >> $GITHUB_OUTPUT
else
echo "has_coverage=false" >> $GITHUB_OUTPUT
fi

- name: Merge coverage and generate report
if: steps.check-coverage.outputs.has_coverage == 'true'
shell: bash
run: npx turbo run merge-json-reports merge-summary-reports report --filter=@o2s/vitest-config

- name: Upload coverage report
if: steps.check-coverage.outputs.has_coverage == 'true'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: packages/configs/vitest-config/coverage/report
retention-days: 14

- name: Vitest coverage report
if: steps.check-coverage.outputs.has_coverage == 'true'
uses: davelosert/vitest-coverage-report-action@v2
with:
working-directory: packages/configs/vitest-config
vite-config-path: api.js
json-summary-path: coverage/coverage-summary.json
json-final-path: coverage/merged/merged-coverage.json
github-token: ${{ inputs.repo-token }}
Comment thread
marcinkrasowski marked this conversation as resolved.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ yarn-error.log*
.idea
.vscode
.cursor
agent-os
AGENTS.md
CLAUDE.md
.claude

# Local history
.lh
Expand Down
Loading