Skip to content

Commit e9fc976

Browse files
authored
Merge pull request #96 from valu-digital/test-with-wp-graphql-latest
Update test infra
2 parents c64e62d + 3a5a7f4 commit e9fc976

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Run tests
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
pull_request:
7+
schedule:
8+
# Every Wednesday at 4:00 UTC
9+
- cron: '0 4 * * 3'
10+
411

512
jobs:
613
test:
@@ -12,14 +19,16 @@ jobs:
1219
env:
1320
MARIADB_ROOT_PASSWORD: root
1421
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
15-
runs-on: ubuntu-latest
22+
23+
runs-on: ubuntu-22.04
24+
1625
steps:
1726
- uses: actions/checkout@v1
1827

19-
- name: Use php 7.4
28+
- name: Use php 8.1
2029
uses: shivammathur/setup-php@v2
2130
with:
22-
php-version: "7.4"
31+
php-version: "8.1"
2332

2433
- uses: actions/cache@v3
2534
id: cache-wp-cli

composer.wp-install.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
],
1111
"require": {
1212
"composer/installers": "^1.0",
13-
"wp-graphql/wp-graphql": "1.26.0",
14-
"wpackagist-plugin/polylang": "3.1.1"
13+
"wp-graphql/wp-graphql": "*",
14+
"wpackagist-plugin/polylang": "*"
1515
},
1616
"extra": {
1717
"installer-paths": {

0 commit comments

Comments
 (0)