Skip to content

elixir-luxembourg/json-schemas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELIXIR-LU json schemas

This repository stores JSON schemas used for validation of data by ELIXIR-LU tools.

Structure

.
├── elixir-lu-json-schemas              # folder with schemas
│   └── ...
├── README.md
├── setup.py
└── tests                               # folder with tests validating schemas
    ├── data                            # folder with testing datasets
    └── ...

Running tests

  1. create Python virtual environment and activate
    python3 -m virtualenv venv
    source venv/bin/activate
  2. install dependencies
    pip install .
    
  3. call tests
    python -m unittest
    

Bump version

  1. Ensure you have no uncommited changes and you are on master branch
   git status
   git checkout master
  1. run bump_version.sh script
   chown +x bump_version.sh
   source bump_version.sh
  1. Inspect changes and push to remote repository
   git push origin --tag
   git push origin

Acknowledgement

This work was supported by ELIXIR Luxembourg.