2022-02-18 06:55:14 +00:00
|
|
|
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-tower:
|
|
|
|
name: Run AWS tests
|
|
|
|
if: github.repository == 'nf-core/taxprofiler'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-23 13:57:56 +00:00
|
|
|
# Launch workflow using Tower CLI tool action
|
2022-02-18 06:55:14 +00:00
|
|
|
- name: Launch workflow via tower
|
2022-03-15 21:05:37 +00:00
|
|
|
uses: nf-core/tower-action@v3
|
2022-02-18 06:55:14 +00:00
|
|
|
with:
|
|
|
|
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
|
|
|
|
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
|
|
|
|
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
|
|
|
|
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/taxprofiler/work-${{ github.sha }}
|
|
|
|
parameters: |
|
|
|
|
{
|
|
|
|
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/taxprofiler/results-test-${{ github.sha }}"
|
|
|
|
}
|
|
|
|
profiles: test,aws_tower
|