refactor(e2e): remove old e2e workflow, no longer up to date, will need to create new one later(never?)
This commit is contained in:
parent
d0f68cf1c6
commit
6d96311d98
33
.github/workflows/e2e.yml
vendored
33
.github/workflows/e2e.yml
vendored
|
|
@ -1,33 +0,0 @@
|
|||
name: e2e
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
env:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: dev # ou test
|
||||
ports: ["5432:5432"]
|
||||
options: >-
|
||||
--health-cmd="pg_isready -U postgres -d dev"
|
||||
--health-interval=5s
|
||||
--health-timeout=5s
|
||||
--health-retries=20
|
||||
env:
|
||||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/dev?schema=public
|
||||
TZ: UTC
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with: { node-version: '18' }
|
||||
- run: npm ci
|
||||
- run: npx prisma migrate deploy
|
||||
- run: npm run seed:all
|
||||
- run: npm run test:e2e:ci
|
||||
1
src/time-and-attendance/paid-time-off/REST.test.http
Normal file
1
src/time-and-attendance/paid-time-off/REST.test.http
Normal file
|
|
@ -0,0 +1 @@
|
|||
GET http://localhost:3000/paid-time-off/totals
|
||||
Loading…
Reference in New Issue
Block a user