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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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:
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 4 additions & 2 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- self-hosted

php:
- 8.4
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -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
Loading