-
-
Notifications
You must be signed in to change notification settings - Fork 29
37 lines (33 loc) · 871 Bytes
/
tests.yml
File metadata and controls
37 lines (33 loc) · 871 Bytes
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
name: Tests
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to test against (e.g., 3.3.x, 4.0.x, master)'
required: false
default: '3.3.x'
push:
branches:
- main
- master
- develop
- dev/*
pull_request:
branches:
- main
- master
- develop
- dev/*
jobs:
call-tests-phpBB3:
if: ${{ (github.event_name != 'workflow_dispatch' || github.event.inputs.branch == '' || github.event.inputs.branch == '3.3.x') }}
name: Tests for 3.3.x
uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x
with:
EXTNAME: acme/demo
call-tests-phpBB4:
if: ${{ github.event.inputs.branch == 'master' }}
name: Tests for 4.0.x
uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@master
with:
EXTNAME: acme/demo