Skip to content

Commit a212511

Browse files
author
Stephan Wentz
committed
ci: Remove old php versions, add php 8.1 and 8.2 and 8.3
1 parent 5d89884 commit a212511

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
matrix:
1919
dependencies: ["lowest", "highest"]
2020
php-version:
21-
- "7.3"
22-
- "7.4"
23-
- "8.0"
21+
- "8.1"
22+
- "8.2"
23+
- "8.3"
2424
operating-system: ["ubuntu-latest"]
2525

2626
steps:
@@ -53,10 +53,5 @@ jobs:
5353
run: "vendor/bin/phpunit"
5454

5555
- name: "Test Brainbits"
56+
if: ${{ matrix.dependencies == 'highest' }}
5657
run: "(vendor/bin/phpcs --basepath=. --report=summary --report-file=phpcs.log --standard=Brainbits `find tests/Brainbits/input/* | sort`) || true; diff -u tests/Brainbits/expected_report.txt phpcs.log"
57-
58-
- name: "Test BrainbitsCodingStandard"
59-
run: "(vendor/bin/phpcs --basepath=. --report=summary --report-file=phpcs.log --standard=BrainbitsCodingStandard `find tests/BrainbitsCodingStandard/input/* | sort`) || true; diff -u tests/BrainbitsCodingStandard/expected_report.txt phpcs.log"
60-
61-
- name: "Test BrainbitsCodingStandardTest"
62-
run: "(vendor/bin/phpcs --basepath=. --report=summary --report-file=phpcs.log --standard=BrainbitsCodingStandardTest `find tests/BrainbitsCodingStandardTest/input/* | sort`) || true; diff -u tests/BrainbitsCodingStandardTest/expected_report.txt phpcs.log"

0 commit comments

Comments
 (0)