mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
rm build dir before testing in CI
This commit is contained in:
parent
9342928266
commit
85c274417e
1 changed files with 8 additions and 2 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue