|
|
@ -58,6 +58,20 @@ jobs: |
|
|
POSTGRES_PASSWORD: postgres |
|
|
POSTGRES_PASSWORD: postgres |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
|
|
|
|
|
|
|
|
|
end_to_end_tests: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:16.10.0 |
|
|
|
|
|
auth: |
|
|
|
|
|
username: adechauveron |
|
|
|
|
|
password: $DOCKER_PASSWORD |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- run: |
|
|
|
|
|
name: "yarn test" |
|
|
|
|
|
command: yarn test:e2e |
|
|
|
|
|
environment: |
|
|
|
|
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres |
|
|
|
|
|
|
|
|
workflows: |
|
|
workflows: |
|
|
version: 2 |
|
|
version: 2 |
|
|
@ -70,3 +84,7 @@ workflows: |
|
|
- postgres: |
|
|
- postgres: |
|
|
requires: |
|
|
requires: |
|
|
- build |
|
|
- build |
|
|
|
|
|
- end_to_end_tests: |
|
|
|
|
|
requires: |
|
|
|
|
|
- lint |
|
|
|
|
|
- postgres |