2019-11-25 23:52:39 +00:00
|
|
|
name: Configs tests
|
2019-11-25 23:25:49 +00:00
|
|
|
|
|
|
|
## Check whether users added their config to the matrix
|
2019-11-25 23:34:55 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2019-11-25 23:54:17 +00:00
|
|
|
- '.github/workflows/main.yml'
|
2019-11-25 23:25:49 +00:00
|
|
|
|
|
|
|
jobs:
|
2019-11-25 23:34:55 +00:00
|
|
|
profile_test:
|
|
|
|
runs-on: ubuntu-latest
|
2019-11-25 23:25:49 +00:00
|
|
|
name: Run individual profiles
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
profile: ['awsbatch, bigpurple, binac, cbe, ccga_dx, ccga, cfc, crick, czbiohub_aws_highpriority, czbiohub_aws, denbi_qbic, genouest, gis, hebbe, kraken, munin, pasteur, phoenix, prince, shh, uct_hex, uppmax_devel, uppmax, uzh']
|
|
|
|
steps:
|
2019-11-25 23:51:08 +00:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Install Nextflow
|
|
|
|
run: |
|
2019-11-25 23:25:49 +00:00
|
|
|
wget -qO- get.nextflow.io | bash
|
|
|
|
sudo mv nextflow /usr/local/bin/
|
2019-11-25 23:51:08 +00:00
|
|
|
- name: "Check profile"
|
|
|
|
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf --custom_config_base=${GITHUB_WORKSPACE} -profile ${{ matrix.profile }}
|