1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-08 12:56:48 +01:00
immich/.github/workflows/test.yml

31 lines
667 B
YAML
Raw Normal View History

name: Test
on:
2022-07-16 07:48:35 +02:00
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
e2e-tests:
name: Run end-to-end test suites
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Immich Server 2E2 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
unit-tests:
name: Run unit test suites
runs-on: ubuntu-latest
2022-08-11 20:46:11 +02:00
steps:
- name: Checkout code
2022-08-11 20:46:11 +02:00
uses: actions/checkout@v2
- name: Run tests
2022-08-11 20:46:11 +02:00
run: cd server && npm install && npm run test