Skip to content

Merge pull request #50 from nsg/v1.66 #207

Merge pull request #50 from nsg/v1.66

Merge pull request #50 from nsg/v1.66 #207

Workflow file for this run

name: System Testing
on:
push:
branches: [ "master" ]
paths-ignore:
- 'docs/**'
- '*.md'
- 'LICENSE'
pull_request:
branches: [ "master" ]
paths-ignore:
- 'docs/**'
- '*.md'
- 'LICENSE'
workflow_dispatch:
concurrency:
group: "tests"
cancel-in-progress: true
jobs:
build-and-test-snap:
runs-on: ubuntu-latest
services:
selenium:
image: selenium/standalone-chrome:latest
options: --shm-size=2gb
ports:
- 4444:4444
steps:
- uses: actions/checkout@v3
- uses: snapcore/action-build@v1
- name: Install package
run: |
sudo snap install --dangerous *.snap
# - name: Install package
# run: |
# sudo snap install --edge immich-distribution
- name: Copy test assets to selenium container
run: sudo cp -v ${{ github.workspace }}/tests/assets/* /var/snap/immich-distribution/current/
- name: Install requirements
run: pip install -r tests/requirements.txt
- name: Run Selenium Tests
run: make ci -C tests