From 4b18acc79207096e94ea0cf372ff3519cc85a5b9 Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Fri, 23 Oct 2026 08:00:24 -0300 Subject: [PATCH] =?UTF-8?q?CI:=20baixa=20as=20imagens=20de=20refer=C3=AAnc?= =?UTF-8?q?ia=20em=20Linux,=20macOS=20e=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e65dc2..c68079c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,14 @@ jobs: run: | sudo apt-get update 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) shell: bash run: |