Skip to content

Commit 5cce298

Browse files
committed
ci: refactor CI
1 parent 27ed228 commit 5cce298

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: CI
22

33
on: [push, pull_request]
44
jobs:
5-
setup_php:
6-
name: Setup PHP
5+
test:
6+
name: Run tests and linting
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
@@ -23,21 +23,11 @@ jobs:
2323
composer-options: "--no-progress --optimize-autoloader --no-scripts"
2424
custom-cache-key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
2525

26-
run-test:
27-
name: Run testsuite
28-
runs-on: ubuntu-latest
29-
needs: setup_php
30-
steps:
3126
- name: Run Unit test
3227
run: vendor/bin/phpunit --testsuite Unit
3328

3429
- name: Run Acceptance test
3530
run: vendor/bin/phpunit --testsuite Acceptance
3631

37-
lint:
38-
name: Lint code
39-
runs-on: ubuntu-latest
40-
needs: setup_php
41-
steps:
4232
- name: Run ECS
4333
run: vendor/bin/ecs check

0 commit comments

Comments
 (0)