Skip to content

Commit 57090ed

Browse files
committed
add debugging
1 parent 0d13ff4 commit 57090ed

File tree

1 file changed

+8
-29
lines changed

1 file changed

+8
-29
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- main
1010

1111
jobs:
12-
setup:
13-
runs-on: ubuntu-latest
12+
tests:
13+
runs-on: windows-latest
1414

1515
steps:
1616
- name: Checkout repository
@@ -33,6 +33,8 @@ jobs:
3333
echo "Download URL (64-bit): $downloadUrl"
3434
outputFile="$RUNNER_TEMP/downloaded64.zip"
3535
curl -o "$outputFile" "$downloadUrl"
36+
echo "Downloaded file: $outputFile"
37+
ls $RUNNER_TEMP
3638
unzip -o "$outputFile" -d ./tests
3739
rm -f "$outputFile"
3840
@@ -44,35 +46,12 @@ jobs:
4446
echo "Download URL (32-bit): $downloadUrl"
4547
outputFile="$RUNNER_TEMP/downloaded32.zip"
4648
curl -o "$outputFile" "$downloadUrl"
49+
echo "Downloaded file: $outputFile"
50+
ls $RUNNER_TEMP
4751
unzip -o "$outputFile" -d ./tests
4852
rm -f "$outputFile"
4953
50-
- name: Cache tests folder
51-
uses: actions/cache@v4
52-
with:
53-
path: ./tests
54-
key: tests-${{ runner.os }}-${{ hashFiles('**/latest.win64') }}
55-
restore-keys: |
56-
tests-${{ runner.os }}-
57-
58-
tests:
59-
runs-on: windows-latest
60-
needs: setup
61-
62-
steps:
63-
- name: Checkout repository
64-
uses: actions/[email protected]
65-
66-
- name: Restore tests folder from cache
67-
uses: actions/cache@v4
68-
with:
69-
path: ./tests
70-
key: tests-${{ runner.os }}-${{ hashFiles('**/*.exe') }}
71-
restore-keys: |
72-
tests-${{ runner.os }}-
73-
7454
- name: Run tests
75-
shell: bash
7655
run: |
77-
echo "Contents of the tests folder:"
78-
ls -R ./tests
56+
cd ./tests
57+
ls

0 commit comments

Comments
 (0)