Skip to content

Commit

Permalink
Fix test image path
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
  • Loading branch information
ecdye committed Jun 2, 2024
1 parent be410a9 commit 3729a60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ jobs:
- name: Build image
run: |
sudo -E ./tests/image.bash "setup" "${{ steps.setup.outputs.imagexz }}" "${{ steps.setup.outputs.image }}"
cp "${{ steps.setup.outputs.image }}" raspios.img
cp "${{ steps.setup.outputs.image }}" $RUNNER_TEMP/raspios.img
shell: bash
- name: Run tests
uses: pguyot/arm-runner-action@v2
with:
base_image: file://raspios.img
base_image: file://$RUNNER_TEMP/raspios.img
cpu: cortex-a7
cpu_info: cpuinfo/raspberrypi_3b
commands: |
sudo expect ./tests/run.exp
shell: bash
- name: Copy logs
if: always()
run: sudo ./tests/image.bash "copy-logs" "raspios.img"
run: sudo ./tests/image.bash "copy-logs" "$RUNNER_TEMP/raspios.img"
- name: Upload logs
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3729a60

Please sign in to comment.