File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 12
12
description : ' Chip to run tests for'
13
13
required : true
14
14
15
+ env :
16
+ DEBIAN_FRONTEND : noninteractive
17
+
15
18
jobs :
16
19
hardware-test :
17
20
name : Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
@@ -34,20 +37,39 @@ jobs:
34
37
35
38
- name : Evaluate if tests should be run
36
39
id : check-tests
40
+ shell : bash
37
41
run : |
38
42
cache_exists=${{ steps.cache-results.outputs.cache-hit == 'true' }}
39
43
enabled=true
40
44
41
- if [[ $cache_exists == ' true' ]]; then
45
+ if [[ $cache_exists == true ]]; then
42
46
echo "Already ran, skipping"
43
47
enabled=false
44
48
fi
45
49
46
50
echo "enabled=$enabled" >> $GITHUB_OUTPUT
47
51
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
+
48
59
- name : Checkout user repository
49
60
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
50
61
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
51
73
52
74
# setup-python currently only works on ubuntu images
53
75
# - uses: actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments