CI: baixa as imagens de referência em Linux, macOS e Windows
Os testes com imagens reais (BitLocker, FileVault 2, dfvfs, AFF4, discos virtuais) só rodavam na máquina de quem baixava as imagens; no CI eram pulados em silêncio. Agora o script de download roda nos três sistemas, com cache pela versão do script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6ae4dbe9b0
commit
4b18acc792
1 file changed
+8
@@ -47,6 +47,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y mtools dosfstools exfatprogs ntfs-3g e2fsprogs imagemagick zip
|
sudo apt-get install -y mtools dosfstools exfatprogs ntfs-3g e2fsprogs imagemagick zip
|
||||||
|
- name: Cache das imagens de referência
|
||||||
|
uses: actions/cache@v6
|
||||||
|
with:
|
||||||
|
path: target/testdata
|
||||||
|
key: testdata-${{ runner.os }}-${{ hashFiles('scripts/fetch-testdata.sh') }}
|
||||||
|
- name: Imagens de referência (BitLocker, FileVault 2, dfvfs, AFF4)
|
||||||
|
shell: bash
|
||||||
|
run: scripts/fetch-testdata.sh
|
||||||
- name: Testes (com imagens reais FAT32/NTFS/ext4 no Linux)
|
- name: Testes (com imagens reais FAT32/NTFS/ext4 no Linux)
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user