@@ -535,12 +535,6 @@ jobs:
535
535
rm '/usr/local/bin/python3.13-config'
536
536
brew install python
537
537
538
- - name : Setup python
539
- id : python
540
- uses : actions/setup-python@v5
541
- with :
542
- python-version : ' 3.11'
543
-
544
538
- name : Configure formula
545
539
run : |
546
540
# variables for formula
@@ -621,7 +615,7 @@ jobs:
621
615
- name : Validate Homebrew Formula
622
616
id : test
623
617
if : matrix.release != true
624
- uses : LizardByte/homebrew-release-action@v2025.503.165455
618
+ uses : LizardByte/homebrew-release-action@v2025.506.15440
625
619
with :
626
620
formula_file : ${{ github.workspace }}/homebrew/sunshine.rb
627
621
git_email : ${{ secrets.GH_BOT_EMAIL }}
@@ -630,26 +624,19 @@ jobs:
630
624
token : ${{ secrets.GH_BOT_TOKEN }}
631
625
validate : true
632
626
633
- - name : Generate gcov report
634
- id : test_report
635
- # any except canceled or skipped
636
- if : >-
637
- always() &&
638
- matrix.release != true &&
639
- (steps.test.outcome == 'success' || steps.test.outcome == 'failure')
640
- working-directory : ${{ steps.test.outputs.buildpath }}
627
+ - name : Debug homebrew buildpath
628
+ if : always() && matrix.release != true
641
629
run : |
630
+ # print the build path
631
+ echo "Build path: ${{ steps.test.outputs.buildpath }}"
632
+ echo "contents:"
642
633
ls -Ra
643
634
644
- ${{ steps.python.outputs.python-path }} -m pip install gcovr
645
- ${{ steps.python.outputs.python-path }} -m gcovr \
646
- --exclude-noncode-lines \
647
- --exclude-throw-branches \
648
- --exclude-unreachable-branches \
649
- --filter src/ \
650
- --verbose \
651
- --xml-pretty \
652
- -o ${{ github.workspace }}/build/coverage.xml
635
+ # print the test path
636
+ echo "----"
637
+ echo "Test path: ${{ steps.test.outputs.testpath }}"
638
+ echo "contents:"
639
+ ls -Ra
653
640
654
641
- name : Upload test results to Codecov
655
642
# any except canceled or skipped
@@ -679,7 +666,7 @@ jobs:
679
666
with :
680
667
disable_search : true
681
668
fail_ci_if_error : true
682
- files : . /build/coverage.xml
669
+ files : ${{ steps.test.outputs.testpath }} /build/coverage.xml
683
670
flags : ${{ matrix.os_name }}-${{ matrix.os_version }} (Homebrew)
684
671
token : ${{ secrets.CODECOV_TOKEN }}
685
672
verbose : true
0 commit comments