Skip to content

Commit c58a256

Browse files
committed
ci: Add ARM Megatests
1 parent f88b314 commit c58a256

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/cloud_tests_full.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,22 @@ jobs:
2222
strategy:
2323
matrix:
2424
aligner: ["star_salmon", "star_rsem"]
25+
arch: ["arm64", "x86_64"]
2526
steps:
2627
- uses: seqeralabs/action-tower-launch@v2
2728
with:
2829
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
2930
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
30-
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
31+
compute_env: ${{ matrix.arch == 'arm64' && secrets.TOWER_CE_AWS_CPU_ARM64 || secrets.TOWER_CE_AWS_CPU }}
3132
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}"
32-
run_name: "aws_rnaseq_full_${{ matrix.aligner }}"
33+
run_name: "aws_rnaseq_full_${{ matrix.aligner }}_${{ matrix.arch }}"
3334
revision: ${{ github.sha }}
34-
profiles: test_full_aws
35+
profiles: test_full_aws${{ matrix.arch == 'arm64' && ',wave,arm' || '' }}
3536
parameters: |
3637
{
3738
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
3839
"aligner": "${{ matrix.aligner }}",
39-
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/"
40+
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/${{ matrix.arch }}/aligner_${{ matrix.aligner }}/"
4041
}
4142
- uses: actions/upload-artifact@v3
4243
with:

.github/workflows/cloud_tests_small.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,23 @@ jobs:
1717
run-small-tests-on-aws:
1818
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }}
1919
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
aligner: ["star_salmon", "star_rsem"]
23+
arch: ["arm64", "x86_64"]
2024
steps:
2125
- uses: seqeralabs/action-tower-launch@v2
2226
with:
2327
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
2428
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
25-
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
29+
compute_env: ${{ matrix.arch == 'arm64' && secrets.TOWER_CE_AWS_CPU_ARM64 || secrets.TOWER_CE_AWS_CPU }}
2630
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}"
27-
run_name: "aws_rnaseq_small"
31+
run_name: "aws_rnaseq_small_${{ matrix.arch }}"
2832
revision: ${{ github.sha }}
29-
profiles: test
33+
profiles: test${{ matrix.arch == 'arm64' && ',wave,arm' || '' }}
3034
parameters: |
3135
{
32-
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}/"
36+
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}/${{ matrix.arch }}/aligner_${{ matrix.aligner }}/"
3337
}
3438
- uses: actions/upload-artifact@v3
3539
with:

0 commit comments

Comments
 (0)