-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
335 additions
and
470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build Process for PHP 8 | ||
|
||
on: | ||
push: | ||
branches: | ||
- php8 | ||
pull_request: | ||
branches: | ||
- php8 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.2' | ||
- name: Install Composer dependencies | ||
run: composer install | ||
- name: Install Node dependencies | ||
run: cd htdocs/js/vendor; yarn install | ||
- run: cd ../../.. | ||
- run: find htdocs/*.php -print0 | xargs -0 -n1 -P8 php -l | ||
- name: Set up Docker | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Run Docker | ||
run: ./docker-run.sh | ||
- name: Run tests | ||
run: docker exec -i rs_web /var/www/deploy/tests/run-all.sh | ||
- name: Stop Docker | ||
run: ./docker-stop.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.