Skip to content

Commit 8d7d624

Browse files
committed
ci/appveyor: Build packages after tests were run
Our scenarios test suite is not very stable on AppVeyor and builds can fail quite a lot before finally passing for no specific reason. This can prevent us from shipping a release while tests were passing on a previous commit with no code changes. Building packages in a flow step separate from tests ensures we can ship releases even when scenarios fail while still giving us the possibility to refrain from shipping the built package if some scenario fails for what looks to be a good reason.
1 parent bfe0eef commit 8d7d624

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ test_script:
2424
- ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:unit --timeout $env:MOCHA_TIMEOUT }
2525
- ps: if ($env:BUILD_JOB -eq "short_tests") { yarn test:integration --timeout $env:MOCHA_TIMEOUT }
2626
- ps: if ($env:BUILD_JOB -eq "scenarios_build") { yarn test:scenarios --timeout $env:MOCHA_TIMEOUT }
27+
28+
after_test:
2729
- ps: if ($env:BUILD_JOB -eq "scenarios_build") { yarn dist:all }
2830

2931
on_failure:

0 commit comments

Comments
 (0)