Skip to content

Commit 53be67a

Browse files
authored
Merge pull request #1 from sh-cloud-software/remove-large-test-data-file
remove test-data and generate large file on-the-fly in test workflow
2 parents cef0398 + d5a18a0 commit 53be67a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
fi
104104
105105
# Test 4: Scan local file >10MB
106+
- name: Generate 80MB local file
107+
run: |
108+
mkdir test-data
109+
head -c 83886080 </dev/urandom >test-data/random-80mb-file
110+
106111
- name: Scan local random-80mb-file
107112
id: scan_local_80mb
108113
uses: ./ # Uses the action in the root directory

test-data/random-80mb-file

-80 MB
Binary file not shown.

0 commit comments

Comments
 (0)