Skip tests in master branch

Ondrej Sevcik's Avatar

Ondrej Sevcik

29 Oct, 2015 06:22 AM

Hi, we have a school project where we store failing tests in master branch and in other branches we're trying to fix them. We want to be sure that the master branch is buildable, but we don't want to run the tests in it as they will always fail. But we still want to run tests against any other branch that will come up.

What's the best way to achieve this?

Thank you, Ondrej

  1. Support Staff 1 Posted by Feodor Fitsner on 29 Oct, 2015 07:53 PM

    Feodor Fitsner's Avatar

    You can put test command into test.cmd and then call it as:

    test_script:
    - IF NOT "%APPVEYOR_REPO_BRANCH%" == "master" test.cmd
    
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 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