|
46 | 46 | rm -rfv "${{env.file}}" |
47 | 47 | echo "TODO: https://docs.docker.com/engine/security/trust/" |
48 | 48 | # yamllint enable rule:line-length |
49 | | - # yamllint disable-line rule:line-length |
50 | 49 |
|
51 | 50 | - name: Download embedded applications package |
52 | 51 | # yamllint disable-line rule:line-length |
@@ -74,14 +73,21 @@ jobs: |
74 | 73 | && rm z-wave-stack-binaries-*-Linux.tar.gz |
75 | 74 | && date -u |
76 | 75 |
|
77 | | - - name: Download tests files |
78 | | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 76 | + - name: Download tests artifacts |
| 77 | + id: tests |
| 78 | + # yamllint disable-line rule:line-length |
| 79 | + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 |
79 | 80 | with: |
80 | | - fetch-depth: 0 |
81 | | - ref: ${{ github.event.workflow_run.head_commit.id }} |
| 81 | + name: ${{ github.event.repository.name }}-tests |
| 82 | + github-token: ${{ secrets.GH_SL_ACCESS_TOKEN }} |
| 83 | + run-id: ${{ github.event.workflow_run.id }} |
| 84 | + path: ${{ runner.temp }} |
82 | 85 |
|
83 | 86 | - name: Run |
84 | 87 | id: run |
| 88 | + working-directory: ${{ runner.temp }} |
| 89 | + env: |
| 90 | + file: ${{ runner.temp }}/scripts/tests/z-wave-stack-binaries-test.sh |
85 | 91 | # yamllint disable rule:line-length |
86 | 92 | run: | |
87 | 93 | set -x |
|
92 | 98 | export ZPC_COMMAND="docker-compose up --abort-on-container-exit" |
93 | 99 | export z_wave_stack_binaries_bin_dir="${{ runner.temp }}/z-wave-stack-binaries/bin" |
94 | 100 | export ZPC_ARGS="--log.level=d" |
95 | | - ./scripts/tests/z-wave-stack-binaries-test.sh |
| 101 | + chmod u+rx ${{ env.file }} |
| 102 | + ${{ env.file }} |
96 | 103 | # yamllint enable rule:line-length |
97 | 104 | continue-on-error: true |
98 | 105 |
|
|
0 commit comments