File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
.github/actions/flutter_analysis_and_tests Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,18 @@ runs:
3030 run : dart analyze --fatal-infos --fatal-warnings .
3131 working-directory : ${{ inputs.working-directory }}
3232
33- - name : Run unit tests
33+ - name : Run unit tests and prepare coverage
3434 shell : bash
35- run : flutter test --coverage
35+ run : |
36+ flutter test --coverage
37+ # Extract directory name for artifact naming
38+ echo "DIR_NAME=$(basename "${{ inputs.working-directory }}")" >> $GITHUB_ENV
3639 working-directory : ${{ inputs.working-directory }}
3740
3841 - name : Upload coverage artifact
3942 uses : actions/upload-artifact@v4
4043 with :
41- name : coverage-lcov-$(basename "$ {{ inputs.working-directory }}").info
44+ name : coverage-lcov-${{ env.DIR_NAME }}
4245 path : ${{ inputs.working-directory }}/coverage/lcov.info
4346
4447 - name : Run linux integration tests
You can’t perform that action at this time.
0 commit comments