File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 1212 description : ' Chip to run tests for'
1313 required : true
1414
15+ env :
16+ DEBIAN_FRONTEND : noninteractive
17+
1518jobs :
1619 hardware-test :
1720 name : Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
@@ -34,20 +37,39 @@ jobs:
3437
3538 - name : Evaluate if tests should be run
3639 id : check-tests
40+ shell : bash
3741 run : |
3842 cache_exists=${{ steps.cache-results.outputs.cache-hit == 'true' }}
3943 enabled=true
4044
41- if [[ $cache_exists == ' true' ]]; then
45+ if [[ $cache_exists == true ]]; then
4246 echo "Already ran, skipping"
4347 enabled=false
4448 fi
4549
4650 echo "enabled=$enabled" >> $GITHUB_OUTPUT
4751
52+ # - name: Update git submodules
53+ # if: ${{ steps.check-tests.outputs.enabled == 'true' }}
54+ # run: |
55+ # apt update
56+ # apt install -y git
57+ # git --version
58+
4859 - name : Checkout user repository
4960 if : ${{ steps.check-tests.outputs.enabled == 'true' }}
5061 uses : actions/checkout@v4
62+ with :
63+ sparse-checkout : |
64+ *
65+
66+ - name : List files recursively
67+ if : ${{ steps.check-tests.outputs.enabled == 'true' }}
68+ run : |
69+ echo "GitHub workspace: $GITHUB_WORKSPACE"
70+ echo "Working directory: $PWD"
71+ echo "Listing files:"
72+ ls -aR
5173
5274 # setup-python currently only works on ubuntu images
5375 # - uses: actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments