Skip to content

Commit 0a07a90

Browse files
authored
Bump wp-cli/.github shared workflows (#41)
1 parent 1e95555 commit 0a07a90

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎.github/workflows/code-quality.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
code-quality:
12-
uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@5a55e811a46f1ac4946dbd337b74ea7f23ebe014 # main
12+
uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@c819f58d5eb141a15043a762e4a6099941cc8ea6 # main

‎.github/workflows/testing.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
name: Testing
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
push:
67
branches:
78
- main
89
- master
10+
# The shared workflow runs its allowed-to-fail jobs (macOS, MariaDB, PHP nightly) only on scheduled and manual runs.
11+
schedule:
12+
- cron: "17 1 * * *"
913

1014
jobs:
1115
test:
12-
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@4c37c47e01b5d1fe256edf40de33454d8bee37d4 # main
16+
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@c819f58d5eb141a15043a762e4a6099941cc8ea6 # main
1317
with:
1418
minimum-php: "7.4"
15-
matrix: '{ "exclude": [{ "os": "windows-latest" }] }'
19+
matrix: '{ "exclude": [{ "os": "windows-2022" }] }'

‎composer.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@
3636
"behat": "run-behat-tests",
3737
"behat-rerun": "rerun-behat-tests",
3838
"lint": "run-linter-tests",
39+
"lint-gherkin": "run-gherkin-lint-tests",
3940
"phpcs": "run-phpcs-tests",
4041
"phpcbf": "run-phpcbf-cleanup",
4142
"phpstan": "run-phpstan-tests",
4243
"phpunit": "run-php-unit-tests",
4344
"prepare-tests": "install-package-tests",
4445
"test": [
4546
"@lint",
47+
"@lint-gherkin",
4648
"@phpcs",
4749
"@phpunit",
4850
"@behat"

0 commit comments

Comments
 (0)