-
Notifications
You must be signed in to change notification settings - Fork 87
45 lines (35 loc) · 1.31 KB
/
desktop-test-scroll.yml
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
name: Desktop scroll regression tests
on:
pull_request:
paths:
- packages/desktop/**
jobs:
regression-tests:
timeout-minutes: 25
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: "Print OS"
run: echo ${{ matrix.os }}
- uses: actions/checkout@v4
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
- name: "Install libs"
run: sudo apt-get update && sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- name: "Remove test files workaround"
run: find packages/desktop/src -name '*.test.*' -delete && find packages/backend/src -name '*.test.*' -delete
- uses: cypress-io/github-action@v6
with:
install: false
command: npm run regression-test:ci
working-directory: packages/desktop
- name: Archive test screenshots
uses: actions/upload-artifact@v3
if: always()
with:
name: test-screenshots-linux
path: packages/desktop/cypress/snapshots