Skip to content

CCMSautomation/CCMS-Integration-Tests

 
 

Repository files navigation

CCMS-Integration-Tests

Proteosafe Tests

Workflow Tests

workflow-integration-gnps-fast workflow-integration-proteomics3-fast

Testing Workflows

In order to test workflows in a production setting, we have created a utility to do that. Specificaly, if a csv file containing test tasks is provided, then they will be run.

The required column headers is:

  1. test_id - this is the proteosafe task id to clone
  2. description - this is the description to be human readable
  3. regressioncountviews - this is the set of semicolon separated views that we will check for the total number of rows to be present

An example can be found here.

Additionally, we have integrated this utility into github actions but can be called manually in this fashion:

python ./submit_test_job_batch.py --credential_username <username> --credential_password <password> --workflow_task_file test_tasks.tsv

where the utility can be found in testing-utilities.

Adding your own Github Actions Tests

We rely on the continuous integration from github actions. There are several steps you'll need to accomplish:

  1. Add a submodule to your repository that has a csv file described above to say which task ids you want to test
  2. Create a new yml file describing the new CI job for github actions. You can copy one from the .github/workflows folder and obey the naming convention
  3. Alter the path to the test_tasks.csv to yours
  4. Commit and push. It should be running once its gets into master.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%