Skip to content

add basic GitHub action testing #18

add basic GitHub action testing

add basic GitHub action testing #18

Workflow file for this run

name: Nextflow Stub Run
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
jobs:
stub-run:
runs-on: ubuntu-latest
strategy:
matrix:
config: [
'test-diann.config',
'test-encyclopedia-narrow-gpf.config',
'test-encyclopedia-wide-only.config'
]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run (${{ matrix.config }})
run: |
echo "Installing Nextflow:"
curl -s https://get.nextflow.io | bash
chmod +x nextflow
echo "Running Nextflow stub with config: ${{ matrix.config }}"
./nextflow secrets set PANORAMA_API_KEY "PLACEHOLDER"
./nextflow run . -stub-run -c test-resources/${{ matrix.config }}