Skip to content

fix: capture exceptions with sentry #20

fix: capture exceptions with sentry

fix: capture exceptions with sentry #20

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: bitnami/postgresql:13.16.0
env:
POSTGRES_USER: docker
POSTGRES_PASSWORD: docker
POSTGRES_DB: event-booster-test
ports:
- 5433:5432
redis:
image: bitnami/redis:latest
env:
REDIS_PASSWORD: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo "$HOME/.bun/bin" >> $GITHUB_PATH
- name: Install dependencies
run: bun install
- name: Run migrations
run: bun run pretest
- name: Execute tests
run: bun run test
- name: Execute test coverage
run: bun run test:coverage