forked from johnbillion/query-monitor
-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (50 loc) · 1.49 KB
/
nightly-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Nightly Tests
on:
schedule:
# Once daily at 05:00 UTC.
#
# ┌───────────── minute (0 - 59)
# │ ┌────────── hour (0 - 23)
# │ │ ┌─────── day of the month (1 - 31)
# │ │ │ ┌──── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌─ day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
- cron: '0 5 * * *'
push:
branches:
- 'develop'
paths:
- '.github/workflows/nightly-tests.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
acceptance:
name: Nightly acceptance / PHP ${{ matrix.php }}
strategy:
matrix:
php:
- '8.3'
- '7.4'
fail-fast: false
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@trunk
with:
node: true
php: ${{ matrix.php }}
wp: 'nightly'
integration:
name: Nightly integration / PHP ${{ matrix.php }}
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@trunk
strategy:
matrix:
php:
- '8.3'
- '7.4'
fail-fast: false
with:
node: true
php: ${{ matrix.php }}
wp: 'nightly'