File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - IntegrationTest_SingleFacet
2323 - IntegrationTest_MultipleFacet
2424 - IntegrationTest_Chapters_MultipleFacet
25-
25+ env :
26+ FILE_URL : ${{ 'http://www.eicar.org/download/eicar.com.txt' }}
27+ DOWNLOAD_PATH : ${{ 'eicar.com.txt' }}
2628 steps :
2729 - name : Checkout repository 📁
2830 uses : actions/checkout@v6
@@ -108,7 +110,18 @@ jobs:
108110 echo "CLIENT_SECRET=$escapedClientSecret" >> $GITHUB_OUTPUT
109111 echo "CLIENT_ID=$clientID" >> $GITHUB_OUTPUT
110112 echo "✅ Client details fetched successfully!"
111-
113+ - name : Download virus test file 📥
114+ run : |
115+ curl -fSL "$FILE_URL" -o "$DOWNLOAD_PATH"
116+ sleep 5
117+ if [ -f "$DOWNLOAD_PATH" ]; then
118+ FILE_NAME=$(basename "$DOWNLOAD_PATH")
119+ FILE_SIZE=$(stat -c '%s' "$DOWNLOAD_PATH")
120+ echo "File exists — Name: $FILE_NAME, Size: $FILE_SIZE bytes"
121+ else
122+ echo "❌ File NOT found at path: $DOWNLOAD_PATH"
123+ exit 1
124+ fi
112125 - name : Run integration tests 🎯 (${{ matrix.tokenFlow }} - ${{ matrix.testClass }})
113126 env :
114127 CLIENT_SECRET : ${{ steps.fetch_credentials.outputs.CLIENT_SECRET }}
You can’t perform that action at this time.
0 commit comments