Skip to content

Commit c8e9b3f

Browse files
committed
chore(tests): push test artifacts to appveyor
Unfortunately if you have build: off set in appveyor.yml you do not ever get artifacts. You can, however, push artifacts from your scripts so this change makes sure that test artifacts are actively pushed even if build is off.
1 parent 961f7ff commit c8e9b3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ test_script:
1616
- npm --version
1717
# run tests
1818
- npm test
19+
- ps: $root = Resolve-Path .\test\artifacts; [IO.Directory]::GetFiles($root.Path, '*.*', 'AllDirectories') | % { Push-AppveyorArtifact $_ -FileName $_.Substring($root.Path.Length + 1) -DeploymentName to-publish }
1920

2021
artifacts:
21-
- path: cz-cli\test\artifacts
22+
- path: test/artifacts/**/*
2223
name: test artifacts
2324

2425
# Don't actually build.
2526
build: off
27+

0 commit comments

Comments
 (0)