Skip to content

Merge pull request #3 from dipjyotimetia/dependabot/go_modules/github… #15

Merge pull request #3 from dipjyotimetia/dependabot/go_modules/github…

Merge pull request #3 from dipjyotimetia/dependabot/go_modules/github… #15

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
jobs:
test:
name: Event-Stream
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- uses: actions/checkout@v3
- name: Setup Application
run: docker-compose up -d
- name: Integration Test
run: |
curl --location 'http://localhost:9050/expense' \
--header 'Content-Type: application/json' \
--data '{
"expense_id": "1234",
"user_id": "1234",
"category": "1234",
"amount": 12,
"currency": "AUD",
"timestamp": 1621786448000,
"description": "Test new",
"receipt": "new"
}'
- name: check logs
run: docker compose logs -t -f event-stream