diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-11-03 09:37:36 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-11-03 11:03:21 +0100 |
| commit | 5c92d8104d51482ba720b443e94fa6e25c0317ea (patch) | |
| tree | 658779056f802e08fdc92c952d7773adade3e58b /.github | |
| parent | ab3c9645794756a1897aea7201fdd2e106c393c9 (diff) | |
| download | mullvadvpn-5c92d8104d51482ba720b443e94fa6e25c0317ea.tar.xz mullvadvpn-5c92d8104d51482ba720b443e94fa6e25c0317ea.zip | |
Fix E2E tests always running with GotaTun on manual trigger
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/desktop-e2e.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml index 64e8602fd1..5dec5cffc3 100644 --- a/.github/workflows/desktop-e2e.yml +++ b/.github/workflows/desktop-e2e.yml @@ -34,6 +34,7 @@ on: type: string gotatun: type: boolean + default: false description: "Run tests with GotaTun 🦀" permissions: {} @@ -146,12 +147,12 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Build app - if: ${{ !github.event.inputs.gotatun }} + if: ${{ github.event.inputs.gotatun == 'false' }} run: | export CARGO_TARGET_DIR=target/ ./build.sh --optimize - name: Build app (with GotaTun 🦀) - if: ${{ github.event.inputs.gotatun }} + if: ${{ github.event.inputs.gotatun == 'true' }} run: | export CARGO_TARGET_DIR=target/ ./build.sh --optimize --boringtun @@ -336,7 +337,7 @@ jobs: uses: actions/checkout@v4 - uses: ./.github/actions/mullvad-build-env - name: Build app - if: ${{ !github.event.inputs.gotatun }} + if: ${{ github.event.inputs.gotatun == 'false' }} shell: bash run: | ./build.sh @@ -349,7 +350,7 @@ jobs: mv "$original_file" "$new_file" popd - name: Build app (with GotaTun 🦀) - if: ${{ github.event.inputs.gotatun }} + if: ${{ github.event.inputs.gotatun == 'true' }} shell: bash run: | ./build.sh --optimize --boringtun @@ -443,10 +444,10 @@ jobs: uses: actions/checkout@v4 - uses: ./.github/actions/mullvad-build-env - name: Build app - if: ${{ !github.event.inputs.gotatun }} + if: ${{ github.event.inputs.gotatun == 'false' }} run: ./build.sh - name: Build app (with GotaTun 🦀) - if: ${{ github.event.inputs.gotatun }} + if: ${{ github.event.inputs.gotatun == 'true' }} run: ./build.sh --optimize --boringtun - name: Build test executable run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh |
