Skip to content

Commit e1315d5

Browse files
committed
adding CI configuration
1 parent 18066b3 commit e1315d5

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010

1111
env:
1212
PG_PORT: 5432
13+
PG_USER: postgres
14+
PG_PASSWORD: postgres
15+
PG_DB: test_db
16+
PG_HOST: db:5432
1317

1418
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1519
jobs:
@@ -32,6 +36,6 @@ jobs:
3236
- name: Typescript TSC
3337
run: cd frontend && npm install && npm run types
3438
- name: Building docker containers using docker-compose
35-
run: GO_MOD=go.mod docker compose up --wait --build backend db staging_db
39+
run: GO_MOD=go.mod docker compose up --env-file=./config/ci.env.dev --wait --build backend db staging_db
3640
- name: React tests
3741
run: cd frontend && npm test

config/ci.env.dev

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
BACKEND_URI=http://localhost:8080/
2+
FRONTEND_URI=http://localhost:3000/
3+
PG_USER=postgres
4+
PG_PASSWORD=postgres
5+
PG_DB=test_db
6+
PG_PORT=5432
7+
PG_HOST=db:5432

frontend/src/packages/api/tests/filesystemConsistency.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ describe("the filesystem api should", () => {
3030

3131
// Create a document
3232
const newDocument = await FilesystemAPI.CreateDocument("ebic document of truth", root.EntityID);
33-
console.log(newDocument);
3433
expect(IsCreateFilesystemEntryResponse(newDocument), "Expected CreateDocument response to be assignable to CreateFilesystemEntryResponse").toBe(true);
3534

3635
// fetch the information

0 commit comments

Comments
 (0)