Skip to content

Commit 9007abc

Browse files
committed
ci: fix missing dragonboard jobs
After LAVA job submission refactoring dragonboard jobs were not triggered any more. This was caused by incorrect job file upload logic. This patch fixes the upload of missing files. Signed-off-by: Milosz Wasilewski <[email protected]>
1 parent 3293259 commit 9007abc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,17 @@ jobs:
4949
if [ "${{ matrix.machine }}" = "qcom-armv8a" ]; then
5050
python3 ci/generatetests.py --templates ci/lava --os ${{ matrix.distro.name }} --device dragonboard-410c --build-url "${BUILD_URL}"
5151
python3 ci/generatetests.py --templates ci/lava --os ${{ matrix.distro.name }} --device dragonboard-820c --build-url "${BUILD_URL}"
52+
echo "MACHINE=dragonboard" >> $GITHUB_ENV
5253
else
5354
python3 ci/generatetests.py --templates ci/lava --os ${{ matrix.distro.name }} --device ${{ matrix.machine }} --build-url "${BUILD_URL}"
55+
echo "MACHINE=${{ matrix.machine }}" >> $GITHUB_ENV
5456
fi
5557
fi
5658
- name: 'Upload test jobs'
5759
uses: actions/upload-artifact@v4
5860
with:
5961
name: testjobs-${{ matrix.machine }}-${{ matrix.distro.name }}
60-
path: ${{ matrix.machine }}-${{ matrix.distro.name }}-*.yaml
62+
path: ${{ env.MACHINE}}*-${{ matrix.distro.name }}-*.yaml
6163

6264
prepare-job-list:
6365
needs: prepare-jobs

0 commit comments

Comments
 (0)