mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 23:12:58 +01:00
test: skip i18n tests if ref branch when present is not develop
This commit is contained in:
@@ -14,7 +14,7 @@ describe('i18n', () => {
|
||||
let folders;
|
||||
|
||||
before(async function () {
|
||||
if (process.env.GITHUB_EVENT_NAME === 'pull_request') {
|
||||
if ((process.env.GITHUB_REF && process.env.GITHUB_REF !== 'develop') || process.env.GITHUB_EVENT_NAME === 'pull_request') {
|
||||
this.skip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user