Skip to content

Commit

Permalink
Add tests for the typescript SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Nov 12, 2024
1 parent f20b9b9 commit e760b56
Show file tree
Hide file tree
Showing 8 changed files with 528 additions and 20 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,17 +310,6 @@ jobs:
path: ui/tests/playwright-report/
retention-days: 30

- name: Collect logs
if: failure()
run: sh ./.github/scripts/collect_logs.sh

- name: Upload tests logs artifacts
if: failure()
uses: actions/upload-artifact@v3
with:
name: tests-logs-ui
path: artifacts

integration-tests-legacy-v2:
name: Integration Tests Legacy V2
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -359,6 +348,23 @@ jobs:
name: tests-logs-legacy-v2
path: artifacts

integration-tests-typescript-sdk:
name: Integration Tests Typescript SDK
runs-on: ubuntu-22.04
needs: prepare-integration-tests
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Run SDK tests
run: |
echo "Starting Registry App (In Memory)"
docker run -it -p 8080:8080 -e apicurio.rest.deletion.artifact.enabled=true -d ttl.sh/${{ github.sha }}/apicurio/apicurio-registry:1d
cd typescript-sdk
npm install
npm run test
build-examples:
name: Build and Run Application examples
runs-on: ubuntu-22.04
Expand Down
Loading

0 comments on commit e760b56

Please sign in to comment.