forked from nuke-build/nuke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,016 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,6 @@ _ReSharper* | |
_dotTrace* | ||
|
||
.DS_Store | ||
|
||
# Tests | ||
*.received.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.Test.AppVeyorAttribute.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# ------------------------------------------------------------------------------ | ||
# <auto-generated> | ||
# | ||
# This code was generated. | ||
# | ||
# - To turn off auto-generation set: | ||
# | ||
# [TestAppVeyor (AutoGenerate = false)] | ||
# | ||
# - To trigger manual generation invoke: | ||
# | ||
# nuke --generate-configuration AppVeyor --host AppVeyor | ||
# | ||
# </auto-generated> | ||
# ------------------------------------------------------------------------------ | ||
|
||
image: | ||
- Ubuntu1804 | ||
- Visual Studio 2019 | ||
|
||
branches: | ||
only: | ||
- only_branch | ||
except: | ||
- except_branch | ||
|
||
skip_tags: true | ||
skip_branch_with_pr: true | ||
|
||
build_script: | ||
- ps: .\build.ps1 Test | ||
|
||
artifacts: | ||
- path: output/test-results/*.trx | ||
- path: output/test-results/*.xml | ||
- path: output/coverage-report.zip |
123 changes: 123 additions & 0 deletions
123
...uke.Common.Tests/CI/ConfigurationGenerationTest.Test.AzurePipelinesAttribute.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
# ------------------------------------------------------------------------------ | ||
# <auto-generated> | ||
# | ||
# This code was generated. | ||
# | ||
# - To turn off auto-generation set: | ||
# | ||
# [TestAzurePipelines (AutoGenerate = false)] | ||
# | ||
# - To trigger manual generation invoke: | ||
# | ||
# nuke --generate-configuration AzurePipelines --host AzurePipelines | ||
# | ||
# </auto-generated> | ||
# ------------------------------------------------------------------------------ | ||
|
||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- included_branch | ||
exclude: | ||
- excluded_branch | ||
tags: | ||
include: | ||
- included_tags | ||
exclude: | ||
- excluded_tags | ||
paths: | ||
include: | ||
- included_path | ||
exclude: | ||
- excluded_path | ||
|
||
stages: | ||
- stage: ubuntu_18.04 | ||
displayName: 'ubuntu-18.04' | ||
dependsOn: [ ] | ||
pool: | ||
vmImage: 'ubuntu-18.04' | ||
jobs: | ||
- job: Restore | ||
displayName: 'Restore' | ||
dependsOn: [ ] | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Restore --skip' | ||
- job: Compile | ||
displayName: 'Compile' | ||
dependsOn: [ Restore ] | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Compile --skip' | ||
- job: Test | ||
displayName: 'Test' | ||
dependsOn: [ Compile ] | ||
strategy: | ||
parallel: 2 | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Test --skip --test-partition $(System.JobPositionInPhase)' | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
artifactName: test-results | ||
pathtoPublish: 'output/test-results' | ||
- job: Coverage | ||
displayName: 'Coverage' | ||
dependsOn: [ Test ] | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Coverage --skip' | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
artifactName: coverage-report.zip | ||
pathtoPublish: 'output/coverage-report.zip' | ||
- stage: windows_2019 | ||
displayName: 'windows-2019' | ||
dependsOn: [ ] | ||
pool: | ||
vmImage: 'windows-2019' | ||
jobs: | ||
- job: Restore | ||
displayName: 'Restore' | ||
dependsOn: [ ] | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Restore --skip' | ||
- job: Compile | ||
displayName: 'Compile' | ||
dependsOn: [ Restore ] | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Compile --skip' | ||
- job: Test | ||
displayName: 'Test' | ||
dependsOn: [ Compile ] | ||
strategy: | ||
parallel: 2 | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Test --skip --test-partition $(System.JobPositionInPhase)' | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
artifactName: test-results | ||
pathtoPublish: 'output/test-results' | ||
- job: Coverage | ||
displayName: 'Coverage' | ||
dependsOn: [ Test ] | ||
steps: | ||
- task: CmdLine@2 | ||
inputs: | ||
script: './build.cmd Coverage --skip' | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
artifactName: coverage-report.zip | ||
pathtoPublish: 'output/coverage-report.zip' |
84 changes: 84 additions & 0 deletions
84
...CI/ConfigurationGenerationTest.Test.GitHubActionsAttribute.detailed-triggers.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# ------------------------------------------------------------------------------ | ||
# <auto-generated> | ||
# | ||
# This code was generated. | ||
# | ||
# - To turn off auto-generation set: | ||
# | ||
# [TestGitHubActions (AutoGenerate = false)] | ||
# | ||
# - To trigger manual generation invoke: | ||
# | ||
# nuke --generate-configuration GitHubActions_test --host GitHubActions | ||
# | ||
# </auto-generated> | ||
# ------------------------------------------------------------------------------ | ||
|
||
name: test | ||
|
||
on: | ||
push | ||
branches: | ||
- push_branch | ||
tags: | ||
- push_tag | ||
paths: | ||
- push_include_path | ||
- !push_exclude_path | ||
pull_request | ||
branches: | ||
- pull_request_branch | ||
tags: | ||
- pull_request_tag | ||
paths: | ||
- pull_request_include_path | ||
- !pull_request_exclude_path | ||
schedule: | ||
- cron: '* 0 * * *' | ||
|
||
jobs: | ||
macOS-latest: | ||
name: macOS-latest | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run './build.cmd Test' | ||
run: ./build.cmd Test | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: test-results | ||
path: output/test-results | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: coverage-report.zip | ||
path: output/coverage-report.zip | ||
ubuntu-latest: | ||
name: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run './build.cmd Test' | ||
run: ./build.cmd Test | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: test-results | ||
path: output/test-results | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: coverage-report.zip | ||
path: output/coverage-report.zip | ||
windows-latest: | ||
name: windows-latest | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run './build.cmd Test' | ||
run: ./build.cmd Test | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: test-results | ||
path: output/test-results | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: coverage-report.zip | ||
path: output/coverage-report.zip |
75 changes: 75 additions & 0 deletions
75
...s/CI/ConfigurationGenerationTest.Test.GitHubActionsAttribute.simple-triggers.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# ------------------------------------------------------------------------------ | ||
# <auto-generated> | ||
# | ||
# This code was generated. | ||
# | ||
# - To turn off auto-generation set: | ||
# | ||
# [TestGitHubActions (AutoGenerate = false)] | ||
# | ||
# - To trigger manual generation invoke: | ||
# | ||
# nuke --generate-configuration GitHubActions_test --host GitHubActions | ||
# | ||
# </auto-generated> | ||
# ------------------------------------------------------------------------------ | ||
|
||
name: test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
macOS-latest: | ||
name: macOS-latest | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run './build.cmd Test' | ||
run: ./build.cmd Test | ||
env: | ||
GitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
ApiKey: ${{ secrets.ApiKey }} | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: test-results | ||
path: output/test-results | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: coverage-report.zip | ||
path: output/coverage-report.zip | ||
ubuntu-latest: | ||
name: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run './build.cmd Test' | ||
run: ./build.cmd Test | ||
env: | ||
GitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
ApiKey: ${{ secrets.ApiKey }} | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: test-results | ||
path: output/test-results | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: coverage-report.zip | ||
path: output/coverage-report.zip | ||
windows-latest: | ||
name: windows-latest | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run './build.cmd Test' | ||
run: ./build.cmd Test | ||
env: | ||
GitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
ApiKey: ${{ secrets.ApiKey }} | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: test-results | ||
path: output/test-results | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: coverage-report.zip | ||
path: output/coverage-report.zip |
Oops, something went wrong.