39 lines
1.5 KiB
YAML
39 lines
1.5 KiB
YAML
name: nf-core AWS full size tests
|
|
# This workflow is triggered on published releases.
|
|
# It can be additionally triggered manually with GitHub actions workflow dispatch button.
|
|
# It runs the -profile 'test_full' on AWS batch
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
workflow_dispatch:
|
|
jobs:
|
|
run-platform:
|
|
name: Run AWS full tests
|
|
if: github.repository == 'nf-core/wartanalysis'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Launch workflow via Seqera Platform
|
|
uses: seqeralabs/action-tower-launch@v2
|
|
# TODO nf-core: You can customise AWS full pipeline tests as required
|
|
# Add full size test data (but still relatively small datasets for few samples)
|
|
# on the `test_full.config` test runs with only one set of parameters
|
|
with:
|
|
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
|
|
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
|
|
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
|
|
revision: ${{ github.sha }}
|
|
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/wartanalysis/work-${{ github.sha }}
|
|
parameters: |
|
|
{
|
|
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
|
|
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/wartanalysis/results-${{ github.sha }}"
|
|
}
|
|
profiles: test_full
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Seqera Platform debug log file
|
|
path: |
|
|
seqera_platform_action_*.log
|
|
seqera_platform_action_*.json
|