Skip to content

Commit 9ebd7b8

Browse files
committed
Tag external tests with @github-api
Aims to avoid issues with GitHub rate limits on CI
1 parent d1d8fe9 commit 9ebd7b8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

features/plugin-install-github-latest.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Feature: Install WordPress plugins from GitHub
22

3+
@github-api
34
Scenario: Verify that providing a plugin releases/latest GitHub URL will get the latest ZIP
45
Given a WP install
56
When I run `wp plugin install https://github.com/danielbachhuber/one-time-login/releases/latest`

features/plugin-install.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ Feature: Install WordPress plugins
335335
"""
336336
And the wp-content/plugins/pwa-manifest-short-name.php file should exist
337337

338+
@github-api
338339
Scenario: Install plugin from a GitHub Gist page URL
339340
Given a WP install
340341

features/upgradables.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Feature: Manage WordPress themes and plugins
213213
| theme | Theme | moina | Moina | 1.1.2 | https://wordpress.org/themes/download/moina.1.1.2.zip | {CONTENT_DIR}/moina/style.css |
214214
| plugin | Plugin | category-checklist-tree | Category Checklist Tree | 1.2 | https://downloads.wordpress.org/plugin/category-checklist-tree.1.2.zip | {CONTENT_DIR}/category-checklist-tree/category-checklist-tree.php |
215215

216-
@require-wp-4.5
216+
@require-wp-4.5 @github-api
217217
Scenario Outline: Caches certain GitHub URLs
218218
Given a WP install
219219
And I run `wp plugin delete --all`

0 commit comments

Comments
 (0)