Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Nov 28, 2024
1 parent c645315 commit e6be735
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/partition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,15 @@ jobs:
key: cljdeps-${{ env.ACTIONS_CACHE_VERSION }}-${{ hashFiles('deps.edn', 'bb.edn') }}
fail-on-cache-miss: true
- name: Run tests
run: ./bin/kaocha --read-profiling-file kaocha-profiling.edn --write-profiling-file current-kaocha-profiling-${{ strategy.job-index }}.edn --partition-index ${{ strategy.job-index }} --partitions ${{ strategy.job-total }} --partition-strategy :var-time --target-partition-minutes ${{ env.TARGET_PARTITION_MINUTES }} --max-partitions ${{ env.MAX_PARTITIONS }}
run: |
./bin/kaocha \
--read-profiling-file kaocha-profiling.edn \
--write-profiling-file current-kaocha-profiling-${{ strategy.job-index }}.edn \
--partition-index ${{ strategy.job-index }} \
--partitions ${{ strategy.job-total }} \
--partition-strategy :var-time \
--target-partition-minutes ${{ env.TARGET_PARTITION_MINUTES }} \
--max-partitions ${{ env.MAX_PARTITIONS }}
- name: Upload profiling results
if: always()
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -150,6 +158,8 @@ jobs:
with:
pattern: current-kaocha-profiling-*
merge-multiple: true
- name: Print test timings
run: cat current-kaocha-profiling-*.edn
- name: Combine results
run: |
./bin/kaocha-bb --combine-partitioned-results \
Expand Down

0 comments on commit e6be735

Please sign in to comment.