rm build dir before testing in CI

This commit is contained in:
Max Howell 2023-12-20 15:37:18 +00:00
parent 9342928266
commit 85c274417e

View file

@ -49,10 +49,10 @@ jobs:
- os: ["self-hosted", "macOS", "ARM64"]
name: ²
- os: ["self-hosted", "linux", "ARM64"]
name: Lnx·ARM64
name: '*nix·ARM64'
- os: { group: "linux-x86-64" }
container: debian:buster-slim
name: Lnx·x64
name: '*nix64'
runs-on: ${{ matrix.platform.os }}
container: ${{ matrix.platform.container }}
env:
@ -80,6 +80,12 @@ jobs:
pkg: ${{ matrix.pkg }}
if: steps.build.outputs.pkgspec
# prevent tests passing because the build directory is still there
- name: wipe builds directory
run: |
test -d builds
rm -rf builds
- uses: pkgxdev/brewkit/test@v1
with:
pkg: ${{ matrix.pkg }}