Skip to content

Commit a4abf35

Browse files
authored
Forbid .only and .skip on CI (#745)
* Forbid .only and .skip on CI * Lint the code --------- Co-authored-by: Frédéric Collonval <[email protected]>
1 parent a12fa24 commit a4abf35

19 files changed

+252
-31
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) Jupyter Development Team.
3+
* Distributed under the terms of the Modified BSD License.
4+
*/
5+
6+
module.exports = {
7+
testFramework: {
8+
config: {
9+
forbidOnly: process.env.CI ? true : false,
10+
forbidPending: process.env.CI ? true : false
11+
}
12+
}
13+
};

0 commit comments

Comments
 (0)