Giter Club home page Giter Club logo

cwl-for-remote-container-template's Introduction

What is this?

This is a template to write CWL definition with VSCode with remote container extension.

Build Status pipeline status CircleCI

How to use

  • Copy this repository to your local machine.
  • Open the copied repository with remote container extension of VSCode.
  • Have fun!

What is provided by this template?

  • A container setting for VSCode. It provides the followings:
    • basic tools such as cwltool, cwl-runner, cwltest and nodejs (for InlineJavascriptRequirement)
    • docker (you can use it without any configurations)
  • A template for cwltest
  • Templates for CI services (described below)

How to run tests

  • Edit test.yml
    • Each entry consists of input CWL file in tool field, input parameter file in job field and output object in output field (doc field is optional).
    • Here is an example entry:
    - job: job/cat-job.yml
      tool: cwl/cat.cwl
      output:
        out:
          class: File
          basename: output.txt
          checksum: sha1$2af1a59da667eb4aedb182248c1d91741df7e24d
          size: 31
      doc: Template for cwltest
    • You can add new entries for your tools and workflows. I assume that the CWL files are put in cwl directory, the input parameter files are put in job directory, and the example inputs are put in data directory.
  • Run test with the following command
    $ cwltest --test test.yml
    Test [1/1] Template for cwltest
    ...
    All tests passed

Supported CI services

This template provides configurations for several CI services. All you have to do is just integrating your repository with CI services. Each CI service executes tests listed in test.yml by using cwltest.

Replace $USER with your account name and $REPO with your repository name.

  • Travis CI Build Status

    [![Build Status](https://travis-ci.com/$USER/$REPO.svg?branch=master)](https://travis-ci.com/$USER/$REPO)
  • Github Actions

    Replace $WORKFLOW_NAME with your GitHub Actions Workflow name.

    [![Actions Status](https://github.com/$USER/$REPO/workflows/$WORKFLOW_NAME/badge.svg)](https://github.com/$USER/$REPO/actions)
  • CircleCI CircleCI

    [![CircleCI](https://circleci.com/gh/$USER/$REPO.svg?style=shield)](https://circleci.com/gh/$USER/$REPO)
  • Gitlab CI pipeline status

    [![pipeline status](https://gitlab.com/$USER/$REPO/badges/master/pipeline.svg)](https://gitlab.com/$USER/$REPO/commits/master)

TODO

License

This repository is licensed under the Unlicense (a.k.a. Public Domain). Under this license, you can:

  • freely use the contents,
  • freely modify the contents,
  • freely change the license, and
  • freely distribute it to others!

cwl-for-remote-container-template's People

Contributors

manabuishii avatar tom-tan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.