We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b575c6a + ba76485 commit bec9e97Copy full SHA for bec9e97
2 files changed
.github/workflows/run-e2e-tests.yml
@@ -0,0 +1,33 @@
1
+name: Run E2E Tests
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ run-e2e-tests:
7
+ name: Run E2E Tests
8
+ runs-on: ubuntu-latest
9
10
+ services:
11
+ postgres:
12
+ image: bitnami/postgresql
13
+ ports:
14
+ - 5432:5432
15
+ environment:
16
+ - POSTGRESQL_USERNAME=docker
17
+ - POSTGRESQL_PASSWORD=docker
18
+ - POSTGRESQL_DATABASE=gogymapi
19
20
+ steps:
21
+ - uses: actions/checkout@v3
22
23
+ - uses: actions/setup-node@v3
24
+ with:
25
+ node-version: 18
26
+ cache: 'npm'
27
28
+ - run: npm ci
29
30
+ - run: npm run test:e2e
31
+ env:
32
+ JWT_SECRET: testing
33
+ DATABASE_URL: "postgres://docker:docker@localhost:5432/gogymapi?schema=public"
.github/workflows/run-unit.tests.yml .github/workflows/run-unit-tests.yml.github/workflows/run-unit.tests.yml renamed to .github/workflows/run-unit-tests.yml
0 commit comments