Fix e2e tests (#1321)

* Fix e2e tests

* Enable e2e tests in CI

* Remove unnecessary TypeOrmModule from e2e tests
This commit is contained in:
Jaime Baez
2023-01-15 20:08:24 +01:00
committed by GitHub
parent e9fda40b2b
commit 036d0556a4
5 changed files with 55 additions and 46 deletions

View File

@@ -6,17 +6,17 @@ on:
branches: [main]
jobs:
# e2e-tests:
# name: Run end-to-end test suites
e2e-tests:
name: Run end-to-end test suites
# runs-on: ubuntu-latest
runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
steps:
- name: Checkout code
uses: actions/checkout@v3
# - name: Run Immich Server E2E Test
# run: docker-compose -f ./docker/docker-compose.test.yml --env-file ./docker/.env.test up --abort-on-container-exit --exit-code-from immich-server-test
- name: Run Immich Server E2E Test
run: docker-compose -f ./docker/docker-compose.test.yml --env-file ./docker/.env.test up --abort-on-container-exit --exit-code-from immich-server-test
server-unit-tests:
name: Run server unit test suites and checks