@@ -374,20 +374,39 @@ jobs:
374
374
matrix :
375
375
os : ${{ fromJSON(needs.prepare-matrices.outputs.windows_matrix) }}
376
376
steps :
377
+ - name : Checkout repository
378
+ uses : actions/checkout@v4
379
+ - name : Create binaries directory & add to PATH
380
+ shell : bash -ieo pipefail {0}
381
+ run : |
382
+ # Put all binaries in a known folder: test-runner, connection-checker, mullvad-version
383
+ mkdir "${{ github.workspace }}/bin"
384
+ echo "${{ github.workspace }}/bin/" >> "$GITHUB_PATH"
385
+ - name : Download Test Manager
386
+ uses : actions/download-artifact@v4
387
+ if : ${{ needs.build-test-manager-linux.result == 'success' }}
388
+ with :
389
+ name : linux-test-manager-build
390
+ path : ${{ github.workspace }}/bin
391
+ - name : chmod binaries
392
+ run : |
393
+ chmod +x ${{ github.workspace }}/bin/*
377
394
- name : Download App
378
395
uses : actions/download-artifact@v4
379
396
if : ${{ needs.build-windows.result == 'success' }}
380
397
with :
381
398
name : windows-build
382
399
path : ~/.cache/mullvad-test/packages
383
- - name : Checkout repository
384
- uses : actions/checkout@v4
385
400
- name : Run end-to-end tests
386
401
shell : bash -ieo pipefail {0}
387
402
env :
388
403
CURRENT_VERSION : ${{needs.get-app-version.outputs.mullvad-version}}
389
404
run : |
405
+ # A directory with all the binaries is required to run test-manager.
406
+ # The test scripts which runs in CI expects this folder to be available as the `TEST_DIST_DIR` variable.
407
+ export TEST_DIST_DIR="${{ github.workspace }}/bin/"
390
408
export TEST_FILTERS="${{ github.event.inputs.tests }}"
409
+ ls -la "$TEST_DIST_DIR"
391
410
./test/scripts/run/ci.sh ${{ matrix.os }}
392
411
- name : Upload test report
393
412
uses : actions/upload-artifact@v4
0 commit comments