Skip to content

Commit

Permalink
test: add test for root-owned build path
Browse files Browse the repository at this point in the history
  • Loading branch information
easimon committed Nov 28, 2023
1 parent aed41c1 commit 557cb00
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,22 @@ env:
REPORT_DIR: /tmp/build-report

jobs:
test-action:
name: Test action
test-docker-tmp:
name: Test removing root-owned folder
runs-on: ubuntu-latest
steps:
- name: Check out Maximize Build Space action
uses: actions/checkout@v4
with:
path: ./.github/actions/maximize-test

- name: Maximize build space
uses: ./.github/actions/maximize-test
with:
build-mount-path: /var/lib/docker/tmp

determine-free-space:
name: Determine free space with different settings
runs-on: ${{ matrix.os }}

strategy:
Expand Down Expand Up @@ -117,7 +131,7 @@ jobs:
collect-reports:
name: Collect reports
runs-on: ubuntu-latest
needs: test-action
needs: determine-free-space
env:
REPORT_FILE: space-free-report.md

Expand Down

0 comments on commit 557cb00

Please sign in to comment.