nf-core AWS test #2
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
name: nf-core AWS test | |
# This workflow can be triggered manually with the GitHub actions workflow dispatch button. | |
# It runs the -profile 'test' on AWS batch | |
on: | |
workflow_dispatch: | |
jobs: | |
run-platform: | |
name: Run AWS tests | |
if: github.repository == 'nf-core/methylseq' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
aligner: ["bismark", "bismark_hisat", "bwameth"] | |
steps: | |
# Launch workflow using Seqera Platform CLI tool action | |
- name: Launch workflow via Seqera Platform | |
uses: seqeralabs/action-tower-launch@v2 | |
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/methylseq/work-${{ github.sha }} | |
parameters: | | |
{ | |
"aligner": "${{ matrix.aligner }}", | |
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/methylseq/results-test-${{ github.sha }}/${{matrix.aligner}}" | |
} | |
profiles: test | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Seqera Platform debug log file | |
path: | | |
seqera_platform_action_*.log | |
seqera_platform_action_*.json |