-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #268 from biowdl/BIOWDL-536
Use github actions CI
- Loading branch information
Showing
3 changed files
with
32 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Continuous integration | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "**.wdl" # Workflow files and task | ||
- "**.yml" # Ci configuration, tests and docker images | ||
- "!docs/**" | ||
|
||
defaults: | ||
run: | ||
# This is needed for miniconda, see: | ||
# https://github.com/marketplace/actions/setup-miniconda#important | ||
shell: bash -l {0} | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
name: Womtool validate and submodule up to date. | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
- name: install miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
channels: conda-forge,bioconda,defaults | ||
# Conda-incubator uses 'test' environment by default. | ||
- name: install requirements | ||
run: conda install -n test cromwell miniwdl wdl-aid | ||
- name: run linting | ||
run: bash scripts/biowdl_lint.sh |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.