Skip to content

Run heavy jobs on self-hosted runner #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
COMPOSER_ROOT_VERSION: 1.0.0
EXTENSIONS: pdo, pdo_oci

runs-on: ubuntu-latest
runs-on: self-hosted

strategy:
matrix:
Expand Down Expand Up @@ -72,12 +72,14 @@ jobs:
uses: actions/checkout@v4

- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@develop
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.EXTENSIONS }}
ini-values: date.timezone='UTC'
coverage: pcov
env:
runner: self-hosted

- name: Update composer.
run: composer self-update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v4

- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@develop
with:
php-version: ${{ matrix.php }}
coverage: none
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- self-hosted

php:
- 8.4
Expand Down Expand Up @@ -59,12 +59,14 @@ jobs:
uses: actions/checkout@v4

- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@develop
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.EXTENSIONS }}
ini-values: memory_limit=-1
coverage: pcov
env:
runner: self-hosted

- name: Set environment variables pull request linux.
uses: yiisoft/actions/db/environment-linux@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v4

- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@develop
with:
php-version: ${{ matrix.php }}
coverage: none
Expand Down
Loading