Skip to content

Enable Continuous Integration Testing #135

@rburghol

Description

@rburghol

The goal is to develop a set of scripts to verify performance and execution of all facets of the hsp2 install upon making changes, so that we can easily see if anything obvious has broken as we improve things. Thus far, testing is being setup on the forked project at https://github.com/HARPgroup/HSPsquared/, and once we arrive at a working setup we will share it back here.

Tasks

Conda

Notes

Start at Actions page:

image

Disabling a Test

image

Enabling a Test

image

Cost Factors for Testing

  • Basic accounts get 2,000 testing minutes per month free from github (paid accounts get 3,000)
  • Current pip/Linux test path takes ~4.1 mins to execute
    • Uses test10
    • Install/dependencies 22 secs
    • Install hsp2 37 secs
    • Import+Run hsp2 ~3.0 mins
  • Current conda/Linux test path takes N/A to execute
    • Uses test10
    • Install/dependencies 1.3 mins
    • Install hsp2 1 secs (this seems rather short, unless the conda install took care of all dependencies)
    • Import+Run hsp2 failed
  • Loading estimates:
    • Note: test triggering is by branch, and is off by default, i.e., you have to specify a branch as a target of a test.
    • Tests can be triggered on PRs or pushs (commits that get pushed to github from someones local machine)
    • Last month there were 7 pull requests on develop, and 27 commits on develop-specact
    • On our fork repo we 95 commits, more than 70 of which were tiny incremental commits done to test the testing framework, so, a reasonable max monthly estimate might be 50 commits per month.
    • If testing were enabled for:
    • all PRs to develop and master,
    • all commits to the develop-specact:
    • all testing was performed on respec (which is unlikely),
    • 740 minutes / month:
      • ~ 90 test events per month
      • 4 mins per test * 2 tests (normal and dev install)
      • ~740 minutes / month

@PaulDudaRESPEC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions