Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-971

Refactor test.sh (and Jenkinsfile)

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      The old script scripts/test.sh is a multi-headed monster. It can run tests on many platforms. While it might be convenient to have a one-stop for everything, it is redoing many things. For example, it is not uncommon that our C++ code is built multiple times during one invocation. Our current CI set up relies on the script.

      The script predates much functionality found in npm today. By splitting the script into smaller but specialized scripts and use more on npm's functionality, our CI set up can be simplified.

      By reusing a build from a previous step on CI, we will be closer to test what our users are consuming. Moreover, by reusing builds, we will reduce CI time.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kenneth.geisshirt@mongodb.com Kenneth Geisshirt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: