Skip to content

Commit

Permalink
just two chunks of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lskatz committed May 3, 2024
1 parent 14c1cf3 commit 2e6e6d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os: ['ubuntu-20.04' ]
perl: [ '5.32' ]
runner_id: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
runner_id: [0, 1]
name: chunk ${{ matrix.runner_id }} Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- name: Set up perl
Expand Down Expand Up @@ -50,8 +50,8 @@ jobs:
tail -n +2 Kalamari/src/chromosomes.tsv >> in.tsv
total_lines=$(wc -l < in.tsv)
start_line=$(( $runner_id * $total_lines / 20 + 1 ))
end_line=$(( ($runner_id + 1) * $total_lines / 20 -1 ))
start_line=$(( $runner_id * $total_lines / 2 + 1 ))
end_line=$(( ($runner_id + 1) * $total_lines / 2 -1 ))
echo "($runner_id) start_line: $start_line"
echo "($runner_id) end_line: $end_line"
cat header.tsv > chunk_${runner_id}.tsv
Expand Down

0 comments on commit 2e6e6d0

Please sign in to comment.