Provide a mechanism to communicate between matrix runs

Bogdan Gavril's Avatar

Bogdan Gavril

22 Dec, 2015 04:28 PM


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

I have a matrix that looks like:

- Visual Studio 2013
- Visual Studio 2015

  - 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


? 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