Skip to content

Commit d89d2ee

Browse files
committed
build: removed no build from tests
1 parent e203dcf commit d89d2ee

File tree

3 files changed

+82
-77
lines changed

3 files changed

+82
-77
lines changed

.github/workflows/continuous.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
name: ubuntu-latest
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
2929
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
30-
uses: actions/cache@v3
30+
uses: actions/cache@v4
3131
with:
3232
path: |
3333
.nuke/temp

.nuke/build.schema.json

Lines changed: 79 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,51 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"$ref": "#/definitions/build",
4-
"title": "Build Schema",
53
"definitions": {
6-
"build": {
7-
"type": "object",
4+
"Host": {
5+
"type": "string",
6+
"enum": [
7+
"AppVeyor",
8+
"AzurePipelines",
9+
"Bamboo",
10+
"Bitbucket",
11+
"Bitrise",
12+
"GitHubActions",
13+
"GitLab",
14+
"Jenkins",
15+
"Rider",
16+
"SpaceAutomation",
17+
"TeamCity",
18+
"Terminal",
19+
"TravisCI",
20+
"VisualStudio",
21+
"VSCode"
22+
]
23+
},
24+
"ExecutableTarget": {
25+
"type": "string",
26+
"enum": [
27+
"Clean",
28+
"Compile",
29+
"NotifyPublished",
30+
"Pack",
31+
"Publish",
32+
"Restore",
33+
"Status",
34+
"Test"
35+
]
36+
},
37+
"Verbosity": {
38+
"type": "string",
39+
"description": "",
40+
"enum": [
41+
"Verbose",
42+
"Normal",
43+
"Minimal",
44+
"Quiet"
45+
]
46+
},
47+
"NukeBuild": {
848
"properties": {
9-
"Configuration": {
10-
"type": "string",
11-
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
12-
"enum": [
13-
"Debug",
14-
"Release"
15-
]
16-
},
1749
"Continue": {
1850
"type": "boolean",
1951
"description": "Indicates to continue a previously failed build attempt"
@@ -23,37 +55,13 @@
2355
"description": "Shows the help text for this build assembly"
2456
},
2557
"Host": {
26-
"type": "string",
2758
"description": "Host for execution. Default is 'automatic'",
28-
"enum": [
29-
"AppVeyor",
30-
"AzurePipelines",
31-
"Bamboo",
32-
"Bitbucket",
33-
"Bitrise",
34-
"GitHubActions",
35-
"GitLab",
36-
"Jenkins",
37-
"Rider",
38-
"SpaceAutomation",
39-
"TeamCity",
40-
"Terminal",
41-
"TravisCI",
42-
"VisualStudio",
43-
"VSCode"
44-
]
59+
"$ref": "#/definitions/Host"
4560
},
4661
"NoLogo": {
4762
"type": "boolean",
4863
"description": "Disables displaying the NUKE logo"
4964
},
50-
"NugetApiKey": {
51-
"type": "string",
52-
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
53-
},
54-
"NugetApiUrl": {
55-
"type": "string"
56-
},
5765
"Partition": {
5866
"type": "string",
5967
"description": "Partition to use on CI"
@@ -77,55 +85,53 @@
7785
"type": "array",
7886
"description": "List of targets to be skipped. Empty list skips all dependencies",
7987
"items": {
80-
"type": "string",
81-
"enum": [
82-
"Clean",
83-
"Compile",
84-
"NotifyPublished",
85-
"Pack",
86-
"Publish",
87-
"Restore",
88-
"Status",
89-
"Test"
90-
]
88+
"$ref": "#/definitions/ExecutableTarget"
9189
}
9290
},
93-
"SlackWebhook": {
94-
"type": "string",
95-
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
96-
},
97-
"Solution": {
98-
"type": "string",
99-
"description": "Path to a solution file that is automatically loaded"
100-
},
10191
"Target": {
10292
"type": "array",
10393
"description": "List of targets to be invoked. Default is '{default_target}'",
10494
"items": {
105-
"type": "string",
106-
"enum": [
107-
"Clean",
108-
"Compile",
109-
"NotifyPublished",
110-
"Pack",
111-
"Publish",
112-
"Restore",
113-
"Status",
114-
"Test"
115-
]
95+
"$ref": "#/definitions/ExecutableTarget"
11696
}
11797
},
11898
"Verbosity": {
119-
"type": "string",
12099
"description": "Logging verbosity during build execution. Default is 'Normal'",
100+
"$ref": "#/definitions/Verbosity"
101+
}
102+
}
103+
}
104+
},
105+
"allOf": [
106+
{
107+
"properties": {
108+
"Configuration": {
109+
"type": "string",
110+
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
121111
"enum": [
122-
"Minimal",
123-
"Normal",
124-
"Quiet",
125-
"Verbose"
112+
"Debug",
113+
"Release"
126114
]
115+
},
116+
"NugetApiKey": {
117+
"type": "string",
118+
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
119+
},
120+
"NugetApiUrl": {
121+
"type": "string"
122+
},
123+
"SlackWebhook": {
124+
"type": "string",
125+
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
126+
},
127+
"Solution": {
128+
"type": "string",
129+
"description": "Path to a solution file that is automatically loaded"
127130
}
128131
}
132+
},
133+
{
134+
"$ref": "#/definitions/NukeBuild"
129135
}
130-
}
136+
]
131137
}

build/Build.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ class Build : NukeBuild
112112
DotNetTest(s => s
113113
.SetProjectFile(Solution)
114114
.SetConfiguration(Configuration)
115-
.EnableNoRestore()
116-
.EnableNoBuild());
115+
.EnableNoRestore());
117116
});
118117

119118
Target Pack => _ => _

0 commit comments

Comments
 (0)