Skip to content

Commit f23f871

Browse files
authored
Merge pull request #13710 from quarto-dev/improve-smoke-all-skip
2 parents 4614f43 + d2b53b2 commit f23f871

File tree

17 files changed

+388
-66
lines changed

17 files changed

+388
-66
lines changed

dev-docs/feature-format-matrix/qmd-files/crossref/float/custom/document.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ crossref:
88
format:
99
docusaurus-md: {}
1010
_quarto:
11-
tests-on-ci: false
11+
tests:
12+
run:
13+
not_os: [linux]
1214
---
1315

1416
::: {#dia-1}

dev-docs/feature-format-matrix/qmd-files/mermaid/document.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Mermaid
33
format:
44
docusaurus-md: {}
55
_quarto:
6-
tests-on-ci: false
6+
tests:
7+
run:
8+
not_os: [linux]
79
---
810

911
::: {.content-visible when-format="docusaurus-md"}

src/resources/editor/tools/vs-code.mjs

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11675,8 +11675,67 @@ var require_yaml_intelligence_resources = __commonJS({
1167511675
object: {
1167611676
properties: {
1167711677
"trace-filters": "string",
11678-
tests: "object",
11679-
"tests-on-ci": "boolean"
11678+
tests: {
11679+
object: {
11680+
properties: {
11681+
run: {
11682+
object: {
11683+
description: "Control when tests should run",
11684+
properties: {
11685+
ci: {
11686+
boolean: {
11687+
description: "Run tests on CI (true = run, false = skip)",
11688+
default: true
11689+
}
11690+
},
11691+
os: {
11692+
description: "Run tests ONLY on these platforms (whitelist)",
11693+
anyOf: [
11694+
{
11695+
enum: [
11696+
"linux",
11697+
"darwin",
11698+
"windows"
11699+
]
11700+
},
11701+
{
11702+
arrayOf: {
11703+
enum: [
11704+
"linux",
11705+
"darwin",
11706+
"windows"
11707+
]
11708+
}
11709+
}
11710+
]
11711+
},
11712+
not_os: {
11713+
description: "Don't run tests on these platforms (blacklist)",
11714+
anyOf: [
11715+
{
11716+
enum: [
11717+
"linux",
11718+
"darwin",
11719+
"windows"
11720+
]
11721+
},
11722+
{
11723+
arrayOf: {
11724+
enum: [
11725+
"linux",
11726+
"darwin",
11727+
"windows"
11728+
]
11729+
}
11730+
}
11731+
]
11732+
}
11733+
}
11734+
}
11735+
}
11736+
}
11737+
}
11738+
}
1168011739
}
1168111740
}
1168211741
}
@@ -21343,8 +21402,8 @@ var require_yaml_intelligence_resources = __commonJS({
2134321402
"Alias for href",
2134421403
"Link to file contained with the project or external URL",
2134521404
{
21346-
short: "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>twitter</code>, <code>share</code>)",
21347-
long: 'Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>twitter</code>, <code>share</code>) See <a href="https://icons.getbootstrap.com/" class="uri">https://icons.getbootstrap.com/</a> for a list of available\nicons'
21405+
short: "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>bluesky</code>, <code>share</code>)",
21406+
long: 'Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>bluesky</code>, <code>share</code>) See <a href="https://icons.getbootstrap.com/" class="uri">https://icons.getbootstrap.com/</a> for a list of available\nicons'
2134821407
},
2134921408
"Text to display for item (defaults to the document title if not\nprovided)",
2135021409
"Alias for href",
@@ -24978,12 +25037,12 @@ var require_yaml_intelligence_resources = __commonJS({
2497825037
mermaid: "%%"
2497925038
},
2498025039
"handlers/mermaid/schema.yml": {
24981-
_internalId: 197493,
25040+
_internalId: 197523,
2498225041
type: "object",
2498325042
description: "be an object",
2498425043
properties: {
2498525044
"mermaid-format": {
24986-
_internalId: 197485,
25045+
_internalId: 197515,
2498725046
type: "enum",
2498825047
enum: [
2498925048
"png",
@@ -24999,7 +25058,7 @@ var require_yaml_intelligence_resources = __commonJS({
2499925058
exhaustiveCompletions: true
2500025059
},
2500125060
theme: {
25002-
_internalId: 197492,
25061+
_internalId: 197522,
2500325062
type: "anyOf",
2500425063
anyOf: [
2500525064
{

src/resources/editor/tools/yaml/all-schema-definitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 66 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4647,8 +4647,67 @@
46474647
"object": {
46484648
"properties": {
46494649
"trace-filters": "string",
4650-
"tests": "object",
4651-
"tests-on-ci": "boolean"
4650+
"tests": {
4651+
"object": {
4652+
"properties": {
4653+
"run": {
4654+
"object": {
4655+
"description": "Control when tests should run",
4656+
"properties": {
4657+
"ci": {
4658+
"boolean": {
4659+
"description": "Run tests on CI (true = run, false = skip)",
4660+
"default": true
4661+
}
4662+
},
4663+
"os": {
4664+
"description": "Run tests ONLY on these platforms (whitelist)",
4665+
"anyOf": [
4666+
{
4667+
"enum": [
4668+
"linux",
4669+
"darwin",
4670+
"windows"
4671+
]
4672+
},
4673+
{
4674+
"arrayOf": {
4675+
"enum": [
4676+
"linux",
4677+
"darwin",
4678+
"windows"
4679+
]
4680+
}
4681+
}
4682+
]
4683+
},
4684+
"not_os": {
4685+
"description": "Don't run tests on these platforms (blacklist)",
4686+
"anyOf": [
4687+
{
4688+
"enum": [
4689+
"linux",
4690+
"darwin",
4691+
"windows"
4692+
]
4693+
},
4694+
{
4695+
"arrayOf": {
4696+
"enum": [
4697+
"linux",
4698+
"darwin",
4699+
"windows"
4700+
]
4701+
}
4702+
}
4703+
]
4704+
}
4705+
}
4706+
}
4707+
}
4708+
}
4709+
}
4710+
}
46524711
}
46534712
}
46544713
}
@@ -14315,8 +14374,8 @@
1431514374
"Alias for href",
1431614375
"Link to file contained with the project or external URL",
1431714376
{
14318-
"short": "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>twitter</code>, <code>share</code>)",
14319-
"long": "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>twitter</code>, <code>share</code>) See <a href=\"https://icons.getbootstrap.com/\" class=\"uri\">https://icons.getbootstrap.com/</a> for a list of available\nicons"
14377+
"short": "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>bluesky</code>, <code>share</code>)",
14378+
"long": "Name of bootstrap icon (e.g.&nbsp;<code>github</code>,\n<code>bluesky</code>, <code>share</code>) See <a href=\"https://icons.getbootstrap.com/\" class=\"uri\">https://icons.getbootstrap.com/</a> for a list of available\nicons"
1432014379
},
1432114380
"Text to display for item (defaults to the document title if not\nprovided)",
1432214381
"Alias for href",
@@ -17950,12 +18009,12 @@
1795018009
"mermaid": "%%"
1795118010
},
1795218011
"handlers/mermaid/schema.yml": {
17953-
"_internalId": 197493,
18012+
"_internalId": 197523,
1795418013
"type": "object",
1795518014
"description": "be an object",
1795618015
"properties": {
1795718016
"mermaid-format": {
17958-
"_internalId": 197485,
18017+
"_internalId": 197515,
1795918018
"type": "enum",
1796018019
"enum": [
1796118020
"png",
@@ -17971,7 +18030,7 @@
1797118030
"exhaustiveCompletions": true
1797218031
},
1797318032
"theme": {
17974-
"_internalId": 197492,
18033+
"_internalId": 197522,
1797518034
"type": "anyOf",
1797618035
"anyOf": [
1797718036
{

src/resources/schema/definitions.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,8 +2421,29 @@
24212421
object:
24222422
properties:
24232423
trace-filters: string
2424-
tests: object
2425-
tests-on-ci: boolean
2424+
tests:
2425+
object:
2426+
properties:
2427+
run:
2428+
object:
2429+
description: "Control when tests should run"
2430+
properties:
2431+
ci:
2432+
boolean:
2433+
description: "Run tests on CI (true = run, false = skip)"
2434+
default: true
2435+
os:
2436+
description: "Run tests ONLY on these platforms (whitelist)"
2437+
anyOf:
2438+
- enum: [linux, darwin, windows]
2439+
- arrayOf:
2440+
enum: [linux, darwin, windows]
2441+
not_os:
2442+
description: "Don't run tests on these platforms (blacklist)"
2443+
anyOf:
2444+
- enum: [linux, darwin, windows]
2445+
- arrayOf:
2446+
enum: [linux, darwin, windows]
24262447

24272448
- id: notebook-view-schema
24282449
schema:

0 commit comments

Comments
 (0)