Skip to content

Commit 13ad386

Browse files
authored
Increase Action Diskspace (#390)
1 parent 497aa5e commit 13ad386

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/part_test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ jobs:
3737
with:
3838
egress-policy: audit
3939

40+
- name: Maximize build space
41+
if: "${{ runner.os == 'Linux' }}"
42+
uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c # v10
43+
with:
44+
root-reserve-mb: 512
45+
swap-size-mb: 1024
46+
4047
- name: Checkout Code
4148
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4249
- name: SetUp PHP
@@ -72,8 +79,12 @@ jobs:
7279
- name: Install Deps (ignore PHP requirement)
7380
if: matrix.php == 'nightly'
7481
run: composer install --prefer-dist --ignore-platform-req=php+
82+
- name: "Create temp directory for tests"
83+
run: mkdir -p tmp
7584
- name: Run PHPUnit
7685
run: composer run test:unit:cov
86+
env:
87+
TMPDIR: "${{ github.workspace }}/tmp"
7788
- name: Upload coverage results to Coveralls
7889
env:
7990
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)