Skip to content

Added integration tests for players #5

Added integration tests for players

Added integration tests for players #5

name: Verify API Integration Tests
on:
pull_request:
paths:
- "server/**"
- "database/**"
defaults:
run:
working-directory: ./server
env:
DATABASE_URL: postgresql://postgres:password@localhost:5433/f1_fantasy_league_db?schema=public
jobs:
execute:
runs-on: ubuntu-latest
steps:
- name: 🛎 Checkout
uses: actions/checkout@v3
- name: pnpm-setup
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install
run: pnpm i
- name: Test
run: pnpm run test:integration