summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2024-02-13 16:01:21 +0100
committerAlbin <albin@mullvad.net>2024-02-14 15:37:35 +0100
commit1e1e4fa92144defc332349871b2a1b84ff699c1a (patch)
treefefa99a6ae62b8765234c28688fcba289270213c /.github/workflows
parent5c29187dbc4104d2f81f5c8e2cd53299a78c53fe (diff)
downloadmullvadvpn-1e1e4fa92144defc332349871b2a1b84ff699c1a.tar.xz
mullvadvpn-1e1e4fa92144defc332349871b2a1b84ff699c1a.zip
Fix actions report upload
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/android-app.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index ed7ea45366..7413b94c50 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -312,6 +312,12 @@ jobs:
matrix:
test-type: [app] # Temporarily disabled: mockapi
steps:
+ - name: Set report path variable
+ id: determine-report-path
+ env:
+ UNIQUE_RUN_ID: ${{ matrix.test-type }}-${{ github.run_id }}-${{ github.run_attempt }}
+ run: echo "report_path=/tmp/$UNIQUE_RUN_ID" >> $GITHUB_OUTPUT
+
- name: Checkout repository
uses: actions/checkout@v3
@@ -327,7 +333,9 @@ jobs:
TEST_TYPE: ${{ matrix.test-type }}
BILLING_FLAVOR: oss
INFRA_FLAVOR: prod
+ REPORT_DIR: ${{ steps.determine-report-path.outputs.report_path }}
run: |
+ mkdir -p $REPORT_DIR
./android/scripts/run-instrumented-tests.sh
- name: Upload instrumentation report (${{ matrix.test-type }})
@@ -335,7 +343,7 @@ jobs:
if: always()
with:
name: ${{ matrix.test-type }}-instrumentation-report
- path: /tmp/mullvad-${{ matrix.test-type }}-instrumentation-report
+ path: ${{ steps.determine-report-path.outputs.report_path }}
if-no-files-found: ignore
retention-days: 7