summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/desktop-e2e.yml31
1 files changed, 18 insertions, 13 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml
index 274107a29b..756d178c77 100644
--- a/.github/workflows/desktop-e2e.yml
+++ b/.github/workflows/desktop-e2e.yml
@@ -89,9 +89,6 @@ jobs:
prepare-linux:
name: Prepare Linux build container
needs: prepare-matrices
- if: |
- needs.prepare-matrices.outputs.linux_matrix != '[]' &&
- !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -113,6 +110,10 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ needs.prepare-linux.outputs.container_image }}
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
continue-on-error: true
steps:
# Fix for HOME path overridden by GH runners when building in containers, see:
@@ -158,6 +159,10 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ needs.prepare-linux.outputs.container_image }}
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
steps:
# Fix for HOME path overridden by GH runners when building in containers, see:
# https://github.com/actions/runner/issues/863
@@ -184,6 +189,10 @@ jobs:
needs: prepare-linux
# Note: libssl-dev is installed on the test server, so build test-manager there for the sake of simplicity
runs-on: [self-hosted, desktop-test, Linux] # app-test-linux
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -207,6 +216,10 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ needs.prepare-linux.outputs.container_image }}
+ if: |
+ !cancelled() &&
+ needs.prepare-matrices.outputs.linux_matrix != '[]' &&
+ needs.prepare-matrices.outputs.linux_matrix != ''
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -256,7 +269,6 @@ jobs:
path: ${{ github.workspace }}/bin
- name: Download mullvad-version
uses: actions/download-artifact@v4
- if: ${{ needs.build-test-manager-linux.result == 'success' }}
with:
name: mullvad-version-linux
path: ${{ github.workspace }}/bin
@@ -270,10 +282,6 @@ jobs:
run: |
chmod +x ${{ github.workspace }}/bin/*
shell: bash
- - name: Check binaries
- run: |
- ls -la ${{ github.workspace }}/bin
- shell: bash
- name: Download App
uses: actions/download-artifact@v4
if: ${{ needs.build-linux-app.result == 'success' }}
@@ -379,7 +387,7 @@ jobs:
run: |
git fetch --tags --prune-tags --force
export TEST_FILTERS="${{ github.event.inputs.tests }}"
- ./test/scripts/ci-runtests.sh ${{ matrix.os }}
+ ./test/scripts/run/ci.sh ${{ matrix.os }}
- name: Upload test report
uses: actions/upload-artifact@v4
if: '!cancelled()'
@@ -453,7 +461,7 @@ jobs:
run: |
git fetch --tags --prune-tags --force
export TEST_FILTERS="${{ github.event.inputs.tests }}"
- ./test/scripts/ci-runtests.sh ${{ matrix.os }}
+ ./test/scripts/run/ci.sh ${{ matrix.os }}
- name: Upload test report
uses: actions/upload-artifact@v4
if: '!cancelled()'
@@ -486,9 +494,6 @@ jobs:
- name: chmod binaries
run: |
chmod +x ${{ github.workspace }}/bin/*
- - name: Check binaries
- run: |
- ls -la ${{ github.workspace }}/bin
shell: bash
- name: Generate test result matrix
shell: bash -ieo pipefail {0}