Skip to content

Commit 6b7732c

Browse files
committed
ci: switch to colon convention for composer scripts
1 parent db5512a commit 6b7732c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
- name: Install WordPress
4747
run: .github/workflows/install-wp.sh
4848
- name: Run unit tests
49-
run: composer tests-unit
49+
run: composer tests:unit
5050
- name: Run integration tests
5151
env:
5252
AWS_TEST_ACCESS_KEY_ID: ${{ secrets.AWS_TEST_ACCESS_KEY_ID }}
5353
AWS_TEST_SECRET_ACCESS_KEY: ${{ secrets.AWS_TEST_SECRET_ACCESS_KEY }}
54-
run: composer tests-integration
54+
run: composer tests:integration

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"scripts": {
5858
"php-cs-fixer": "php-cs-fixer fix --dry-run --allow-risky=yes",
5959
"phpstan": "phpstan analyze --ansi",
60-
"tests-integration": "phpunit --testsuite integration",
61-
"tests-unit": "phpunit --testsuite unit"
60+
"tests:integration": "phpunit --testsuite integration",
61+
"tests:unit": "phpunit --testsuite unit"
6262
}
6363
}

0 commit comments

Comments
 (0)