We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e82226 commit d7a2cdcCopy full SHA for d7a2cdc
.github/workflows/build.yml
@@ -446,6 +446,13 @@ jobs:
446
# The jar is run twice to exercise different code paths.
447
- run: |
448
java -jar ${{ matrix.extraOpts }} *.jar --smoketest
449
+ if [ -d ~/.wpilib ]; then
450
+ RANDOM_FILE=$(find ~/.wpilib -type f -name "*.so" | shuf -n 1)
451
+ if [ ! -z "$RANDOM_FILE" ]; then
452
+ echo "Corrupting file: $RANDOM_FILE"
453
+ echo "corrupted data" > "$RANDOM_FILE"
454
+ fi
455
456
457
if: ${{ (matrix.os) != 'windows-latest' }}
458
0 commit comments