Skip to content

Commit 7627c94

Browse files
committed
Fix minitest on CI
1 parent 3aaf4c3 commit 7627c94

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,15 @@ jobs:
555555
logs/*
556556
test/**/*.{log,xml}
557557
retention-days: 5
558+
- name: Upload crash logs
559+
if: always()
560+
uses: actions/upload-artifact@v4
561+
with:
562+
name: ${{ github.job }}-${{ github.run_attempt }}-${{ matrix.ruby }}-crash
563+
path: |
564+
~/Library/Logs/DiagnosticReports/
565+
/Library/Logs/DiagnosticReports/
566+
retention-days: 5
558567
- name: Publish Test Report
559568
uses: mikepenz/action-junit-report@v4.1.0
560569
if: always()
@@ -616,6 +625,15 @@ jobs:
616625
logs/*
617626
test/**/*.{log,xml}
618627
retention-days: 5
628+
- name: Upload crash logs
629+
if: always()
630+
uses: actions/upload-artifact@v4
631+
with:
632+
name: ${{ github.job }}-${{ github.run_attempt }}-${{ matrix.ruby }}-crash
633+
path: |
634+
~/Library/Logs/DiagnosticReports/
635+
/Library/Logs/DiagnosticReports/
636+
retention-days: 5
619637
- name: Publish Test Report
620638
uses: mikepenz/action-junit-report@v4.1.0
621639
if: always()

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ group :development do
3030
gem "gem-compiler"
3131
gem "grpc-tools", "~> 1.59"
3232
gem "heckle"
33-
gem "minitest"
33+
gem "minitest", "< 6.0"
3434
gem "minitest-reporters"
3535
gem "mutex_m"
3636
gem "rack"

0 commit comments

Comments
 (0)