-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (47 loc) · 1.15 KB
/
system-tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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: Install requirements
run: pip install -r tests/requirements.txt
- name: Run Selenium Tests
run: make ci -C tests
- name: Upload test report
uses: actions/upload-artifact@v3
with:
name: selenium-test-report
path: |
tests/report.html
tests/assets/style.css