Skip to content

Commit 2600d4b

Browse files
committed
CI improvements, including new checks under PHP 8.3
1 parent eaf598d commit 2600d4b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/coding_style_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Run Coding Style Checks
14-
run: docker run --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php8.2 phpcs -v --standard=PSR2 src tests/unit
14+
run: docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php8.2 phpcs -v --standard=PSR2 src tests/unit

.github/workflows/syntax_checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
11+
php: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
1212

1313
name: PHP ${{ matrix.php }}
1414

@@ -19,7 +19,7 @@ jobs:
1919
- name: Run Syntax Checks
2020
run: |
2121
if [[ ${{ matrix.php }} == '7.0' ]] || [[ ${{ matrix.php }} == '7.3' ]] ; then
22-
docker run --rm -v "$(pwd)/src:/data" -i cytopia/phplint:${{ matrix.php }}
22+
docker run -q --rm -v "$(pwd)/src:/data" -i cytopia/phplint:${{ matrix.php }}
2323
else
24-
docker run --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php${{ matrix.php }} phplint src
24+
docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php${{ matrix.php }} phplint src
2525
fi

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
set -ex
2222
sed "s/%%PHP_VERSION%%/${{ matrix.php }}/g" Dockerfile.tpl > Dockerfile
23-
docker-compose up -d
23+
docker-compose up --quiet-pull -d
2424
sleep 2 # Give the containers enough time to warm up before running unit tests.
2525
2626
- name: Run Unit Tests

0 commit comments

Comments
 (0)