Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Sep 16, 2024
1 parent 8237504 commit ba7dfc9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/js-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,12 @@ jobs:
run: corepack enable
- name: Install dependencies
run: yarn
- run: ./dev/up
- run: |
- name: Start dev environment
run: ./dev/up
- name: Sleep for 1 second
run: sleep 1s
- name: Run node tests
run: |
cd packages/js-sdk
yarn test:node
env:
Expand All @@ -104,7 +108,8 @@ jobs:
DD_SERVICE: xmtp-js
DD_CIVISIBILITY_AGENTLESS_ENABLED: 'true'
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- run: |
- name: Run browser tests
run: |
cd packages/js-sdk
yarn test:browser
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/mls-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,12 @@ jobs:
run: corepack enable
- name: Install dependencies
run: yarn
- run: ./dev/up
- run: |
- name: Start dev environment
run: ./dev/up
- name: Sleep for 1 second
run: sleep 1s
- name: Run tests
run: |
cd packages/mls-client
yarn test
Expand Down
2 changes: 1 addition & 1 deletion dev/compose
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -eou pipefail

docker compose -f dev/docker-compose.yml -p "xmtp-js" "$@"
docker compose -f dev/docker-compose.yml -p "xmtp-js" "$@"
2 changes: 1 addition & 1 deletion dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- --mls-validation.grpc-address=validation:50051
- --api.enable-mls
- --wait-for-db=30s
# - --api.authn.enable
- --api.authn.enable
ports:
- 5555:5555
- 5556:5556
Expand Down

0 comments on commit ba7dfc9

Please sign in to comment.