immich/.github/workflows/test.yml
Workflow config file is invalid. Please check your config file: yaml: line 24: mapping values are not allowed in this context
2022-08-11 08:27:44 -05:00

29 lines
No EOL
673 B
YAML

name: Test
on:
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
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: cd server && npm install && npm run test