File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,19 @@ jobs:
7575 - name : Start epmd
7676 run : epmd -daemon
7777 - name : Run tests
78- run : MIX_TEST_PARTITION=${{ matrix.partition }} MAX_CASES=3 mix coveralls.github --partitions 4 --parallel --flagname partition-${{ matrix.partition }}
79- env :
80- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78+ run : MIX_TEST_PARTITION=${{ matrix.partition }} mix coveralls.lcov --partitions 4
79+ - name : Upload coverage
80+ uses : coverallsapp/github-action@v2
81+ with :
82+ github-token : ${{ secrets.GITHUB_TOKEN }}
83+ flag-name : partition-${{ matrix.partition }}
84+ parallel : true
85+ file : cover/lcov.info
8186
8287 coverage :
8388 name : Merge Coverage
8489 needs : tests
85- if : always()
90+ if : ${{ needs.tests.result == 'success' }}
8691 runs-on : blacksmith-8vcpu-ubuntu-2404
8792 steps :
8893 - uses : coverallsapp/github-action@v2
You can’t perform that action at this time.
0 commit comments