Provide a mechanism to communicate between matrix runs

Bogdan Gavril's Avatar

Bogdan Gavril

22 Dec, 2015 04:28 PM

Hi,

I realize this was already suggested, but I just wanted to add a scenario.

I have a matrix that looks like:

os:
- Visual Studio 2013
- Visual Studio 2015

environment:
  matrix:
  - SQ_Version: '4.5.6'
  - SQ_Version: '5.2'

For each of these configurations I run a complex E2E test. However, I'd also like to run a separate test when a PR is created. The PR test should only run once as it uploads some static analysis results to the PR itself.

I am familiar with the APPVEYOR_PULL_REQUEST_NUMBER variable to determine a run is triggered by a PR, however the test is running 4 times.

Suggestions / questions:

- allow multiple tests per project (i.e. multiple yml files)
- a mechanism to communicate between runs in a matrix would allow me to exit early after the first run

  1. Support Staff 1 Posted by Feodor Fitsner on 22 Dec, 2015 11:46 PM

    Feodor Fitsner's Avatar

    Hi Bogdan,

    Thanks for your thoughts!

    I would probably do a build script running all four configurations consequently (or PR test if it's PR) and run it as a single job. Unless you are going to have multiple jobs for your account when you indeed can benefit from parallel execution. Even if those jobs are being run in parallel there is no way to guarantee their order of execution.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Jul, 2019 05:17 PM
16 Jul, 2019 10:17 AM
16 Jul, 2019 07:46 AM
16 Jul, 2019 04:51 AM
15 Jul, 2019 06:33 PM

 

15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM
15 Jul, 2019 05:46 PM
15 Jul, 2019 05:21 PM
15 Jul, 2019 04:29 PM
15 Jul, 2019 03:12 PM