Restore: push to repo before PR creation #262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |