Skip to content

Merge pull request #5 from lui7henrique/task/test-coverage #2

Merge pull request #5 from lui7henrique/task/test-coverage

Merge pull request #5 from lui7henrique/task/test-coverage #2

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
run: bun install

Check failure on line 42 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 42, Col: 9): 'run' is already defined
- name: Run migrations
run: bun run pretest
- name: Execute tests
run: bun run test
- name: Execute test coverage
run: bun run test:coverage