mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-13 04:37:39 +02:00
Added missing files and notes to docker container. (#185)
* Added missing files and notes to docker container. Dev compose adjusted accordingly (but untested, since it isn't used yet). Checked release action * Removed e2e tests from release (not used yet) * Added missing env vars for unit test * Missing env * Display version number --------- Co-authored-by: Karl Ludwig Weise <ludwig@ludwigweise.de>
This commit is contained in:
co-authored by
Karl Ludwig Weise
parent
75cdccf5d0
commit
16eed3d03e
@@ -39,17 +39,22 @@ jobs:
|
||||
|
||||
- name: Run unit tests
|
||||
run: npm run test:unit -- --run
|
||||
env:
|
||||
DATABASE_URL: "postgresql://test:test@localhost:5432/test"
|
||||
SMTP_HOST: "smtp.example.com"
|
||||
SMTP_PORT: "587"
|
||||
SMTP_SECURE: "false"
|
||||
SMTP_USER: "your-email@example.com"
|
||||
SMTP_PASS: "your-password"
|
||||
SMTP_FROM_NAME: "Open Reception"
|
||||
SMTP_FROM_EMAIL: "noreply@example.com"
|
||||
JWT_SECRET: "test"
|
||||
|
||||
- name: Build application
|
||||
run: npm run build
|
||||
env:
|
||||
DATABASE_URL: "postgresql://test:test@localhost:5432/test"
|
||||
|
||||
- name: Install Playwright browsers
|
||||
run: npx playwright install --with-deps
|
||||
|
||||
- name: Run E2E tests
|
||||
run: npm run test:e2e
|
||||
JWT_SECRET: "build"
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
|
||||
Reference in New Issue
Block a user