Skip to content

Commit fd77585

Browse files
authored
Merge pull request #595 from broadinstitute/dp-build-fix
Fix GH Actions builds
2 parents fa2ce1e + dd84c9c commit fd77585

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
validate_wdl_miniwdl:
4343
# Run if not a push event or if there's no pull request for the branch
4444
if: github.event_name != 'push' || github.event.pull_request == null
45-
runs-on: ubuntu-20.04
45+
runs-on: ubuntu-24.04
4646
steps:
4747
- name: checkout repository
4848
uses: actions/checkout@v4
@@ -97,7 +97,7 @@ jobs:
9797
validate_wdl_womtool:
9898
# Run if not a push event or if there's no pull request for the branch
9999
if: github.event_name != 'push' || github.event.pull_request == null
100-
runs-on: ubuntu-20.04
100+
runs-on: ubuntu-24.04
101101
steps:
102102
- name: checkout repository
103103
uses: actions/checkout@v4
@@ -149,7 +149,7 @@ jobs:
149149
test_docs:
150150
# Run if not a push event or if there's no pull request for the branch
151151
if: github.event_name != 'push' || github.event.pull_request == null
152-
runs-on: ubuntu-20.04
152+
runs-on: ubuntu-24.04
153153
steps:
154154
- name: checkout repository
155155
uses: actions/checkout@v4
@@ -196,7 +196,7 @@ jobs:
196196
# Run if not a push event or if there's no pull request for the branch
197197
if: github.event_name != 'push' || github.event.pull_request == null
198198
needs: validate_wdl_womtool
199-
runs-on: ubuntu-20.04
199+
runs-on: ubuntu-24.04
200200
steps:
201201
- name: checkout repository
202202
uses: actions/checkout@v4
@@ -253,7 +253,7 @@ jobs:
253253
# Run if not a push event or if there's no pull request for the branch
254254
if: github.event_name != 'push' || github.event.pull_request == null
255255
needs: validate_wdl_miniwdl
256-
runs-on: ubuntu-20.04
256+
runs-on: ubuntu-24.04
257257
steps:
258258
- name: checkout repository
259259
uses: actions/checkout@v4
@@ -318,7 +318,7 @@ jobs:
318318
needs:
319319
- validate_wdl_womtool
320320
- validate_wdl_miniwdl
321-
runs-on: ubuntu-20.04
321+
runs-on: ubuntu-24.04
322322
env:
323323
# DX_API_TOKEN (for DNAnexus builds) -- GitHub Actions token #1, expires 2025-01-17
324324
# stored here: https://github.com/broadinstitute/viral-pipelines/settings/secrets/actions

pipes/WDL/workflows/assemble_denovo.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ workflow assemble_denovo {
195195
File aligned_only_reads_fastqc = refine.align_to_ref_fastqc
196196
File coverage_tsv = refine.align_to_self_merged_coverage_tsv
197197
Int read_pairs_aligned = refine.align_to_self_merged_read_pairs_aligned
198-
Float bases_aligned = refine.align_to_self_merged_bases_aligned
198+
Int bases_aligned = refine.align_to_self_merged_bases_aligned
199199

200200
String assembly_method = "viral-ngs/assemble_denovo"
201201
String assemble_viral_assemble_version = assemble.viralngs_version

pipes/WDL/workflows/assemble_refbased.wdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ workflow assemble_refbased {
222222
File align_to_ref_merged_coverage_tsv = plot_ref_coverage.coverage_tsv
223223
Int align_to_ref_merged_reads_aligned = plot_ref_coverage.reads_aligned
224224
Int align_to_ref_merged_read_pairs_aligned = plot_ref_coverage.read_pairs_aligned
225-
Float align_to_ref_merged_bases_aligned = plot_ref_coverage.bases_aligned
225+
Int align_to_ref_merged_bases_aligned = floor(plot_ref_coverage.bases_aligned)
226226
File align_to_ref_isnvs_vcf = isnvs_ref.report_vcf
227227

228228
File picard_metrics_wgs = alignment_metrics.wgs_metrics
@@ -238,7 +238,7 @@ workflow assemble_refbased {
238238
File align_to_self_merged_coverage_tsv = plot_self_coverage.coverage_tsv
239239
Int align_to_self_merged_reads_aligned = plot_self_coverage.reads_aligned
240240
Int align_to_self_merged_read_pairs_aligned = plot_self_coverage.read_pairs_aligned
241-
Float align_to_self_merged_bases_aligned = plot_self_coverage.bases_aligned
241+
Int align_to_self_merged_bases_aligned = floor(plot_self_coverage.bases_aligned)
242242
Float align_to_self_merged_mean_coverage = plot_self_coverage.mean_coverage
243243
File align_to_self_isnvs_vcf = isnvs_self.report_vcf
244244

0 commit comments

Comments
 (0)