Skip to content

Commit 9b56234

Browse files
committed
Update phpBB GH Actions
1 parent 2a7e25e commit 9b56234

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
name: Tests
22

33
on:
4-
push:
5-
branches: # Run tests when commits are pushed to these branches in your repo
6-
- main
7-
- master
8-
- develop
9-
- dev/*
10-
pull_request: # Run tests when pull requests are made on these branches in your repo
11-
branches:
12-
- main
13-
- master
14-
- develop
15-
- dev/*
4+
push:
5+
branches: # Run tests when commits are pushed to these branches in your repo
6+
- main
7+
- master
8+
- develop
9+
- dev/*
10+
pull_request: # Run tests when pull requests are made on these branches in your repo
11+
branches:
12+
- main
13+
- master
14+
- develop
15+
- dev/*
1616

1717
jobs:
18-
call-tests:
19-
name: Extension tests
20-
uses: phpbb-extensions/test-framework/.github/workflows/[email protected] # Must match PHPBB_BRANCH
21-
with:
22-
EXTNAME: lukewcs/togglectrl # Your extension vendor/package name
23-
PHPBB_BRANCH: 3.3.x # The phpBB branch to run tests on
24-
RUN_MYSQL_JOBS: 0
25-
RUN_PGSQL_JOBS: 0
26-
RUN_MSSQL_JOBS: 0
27-
RUN_WINDOWS_JOBS: 0
28-
PRIMARY_PHP_VERSION: '8.4'
18+
call-tests:
19+
name: Extension tests
20+
uses: phpbb-extensions/test-framework/.github/workflows/[email protected]
21+
with:
22+
EXTNAME: lukewcs/togglectrl # Your extension vendor/package name
23+
RUN_MYSQL_JOBS: 0
24+
RUN_PGSQL_JOBS: 0
25+
RUN_MSSQL_JOBS: 0
26+
RUN_WINDOWS_JOBS: 0
27+
PRIMARY_PHP_VERSION: '8.4'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Toggle Control
22
Extension for phpBB - Makes it possible to decide centrally for all extensions which visual style should be used for yes/no switches, provided extensions support Toggle Control.
33

4-
[![Build Status](https://github.com/LukeWCS/toggle-control/workflows/Tests/badge.svg)](https://github.com/LukeWCS/toggle-control/actions)
4+
[![Tests](https://github.com/LukeWCS/toggle-control/actions/workflows/tests.yml/badge.svg)](https://github.com/LukeWCS/toggle-control/actions/workflows/tests.yml)
55

66
### Requirements
77
* phpBB 3.3.0 - 3.3.x

0 commit comments

Comments
 (0)