Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Jan 4, 2025
1 parent 5fdc3bd commit 26e3fd5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 43 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ jobs:
integration:
name: Integration
runs-on: ubuntu-latest
env:
XMTP_NODE_URL: http://node:5555
NOTIFICATION_SERVER_URL: http://notification_server:8080
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: ./dev/integration
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
working-directory: ./integration
run: bun install
- name: Run tests
working-directory: ./integration
run: bun test
3 changes: 1 addition & 2 deletions dev/integration
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
set -eou pipefail

docker compose up -d node
docker compose up integration
exit $?
docker compose up -d notification_server
18 changes: 0 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,3 @@ services:
- --http-delivery
- --http-delivery-address=http://integration:7777/post
- --api-port=8080

integration:
build:
context: ./integration
dockerfile: Dockerfile
expose:
- 7777
volumes:
- ./integration/src:/usr/app/src:ro
depends_on:
- node
- notification_server
environment:
- XMTP_NODE_URL=http://node:5555
- NOTIFICATION_SERVER_URL=http://notification_server:8080
command:
- bun
- test
22 changes: 0 additions & 22 deletions integration/Dockerfile

This file was deleted.

0 comments on commit 26e3fd5

Please sign in to comment.