Skip to content

Commit df04a13

Browse files
committed
Iterate
1 parent 7604a6c commit df04a13

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/build-and-test.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ on:
1616
merge_group:
1717
types: [checks_requested]
1818
push:
19-
branches: [develop, staging, master]
19+
# We do not build on push to develop as the merge_group check handles that
20+
branches: [staging, master]
2021
repository_dispatch:
2122
types: [element-web-notify]
2223

@@ -218,7 +219,7 @@ jobs:
218219

219220
build_ed_windows:
220221
needs: prepare_ed
221-
name: "ED Windows"
222+
name: "Desktop Windows"
222223
uses: ./.github/workflows/build_desktop_windows.yaml
223224
if: inputs.skip != true
224225
strategy:
@@ -230,7 +231,7 @@ jobs:
230231

231232
build_ed_linux:
232233
needs: prepare_ed
233-
name: "ED Linux (${{ matrix.arch }}) (sqlcipher: ${{ matrix.sqlcipher }})"
234+
name: "Desktop Linux"
234235
uses: ./.github/workflows/build_desktop_linux.yaml
235236
if: inputs.skip != true
236237
strategy:
@@ -244,7 +245,7 @@ jobs:
244245

245246
build_ed_macos:
246247
needs: prepare_ed
247-
name: "ED macOS"
248+
name: "Desktop macOS"
248249
uses: ./.github/workflows/build_desktop_macos.yaml
249250
if: inputs.skip != true
250251
with:

.github/workflows/build_desktop_test.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,14 @@ jobs:
8585
EXECUTABLE: ${{ steps.executable.outputs.path }}
8686

8787
- name: Run tests
88-
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
8988
timeout-minutes: 20
90-
with:
91-
run: pnpm -C apps/desktop test ${{ runner.os != 'Linux' && '--ignore-snapshots' || '' }} ${{ inputs.blob_report == false && '--reporter=html' || '' }} ${{ inputs.args }}
89+
run: |
90+
$PREFIX pnpm -C apps/desktop test \
91+
${{ runner.os != 'Linux' && '--ignore-snapshots' || '' }} \
92+
${{ inputs.blob_report == false && '--reporter=html' || '' }} \
93+
${{ inputs.args }}
9294
env:
95+
PREFIX: ${{ runner.os == 'Linux' && 'xvfb-run' || '' }}
9396
PW_TAG: ${{ inputs.project }}
9497
ELEMENT_DESKTOP_EXECUTABLE: ${{ steps.executable.outputs.path }}
9598

0 commit comments

Comments
 (0)