@@ -401,6 +401,38 @@ jobs:
401401 if : failure()
402402 run : ./scripts/ci-diagnostics.sh
403403
404+ # This will be replaced once #6945 is merged.
405+ cocoalumberjack-integration-unit-tests :
406+ name : SentryCocoaLumberjack Unit Tests
407+ if : needs.files-changed.outputs.run_unit_tests_for_prs == 'true'
408+ needs : files-changed
409+ runs-on : macos-15
410+ steps :
411+ - uses : actions/checkout@v6
412+
413+ - name : Select Xcode
414+ run : ./scripts/ci-select-xcode.sh 16.4
415+
416+ - name : Setup local sentry-cocoa dependency
417+ working-directory : 3rd-party-integrations/SentryCocoaLumberjack
418+ run : swift package edit sentry-cocoa --path ../..
419+
420+ - name : Run CocoaLumberjack tests
421+ working-directory : 3rd-party-integrations/SentryCocoaLumberjack
422+ run : swift test
423+
424+ - name : Archiving Raw Logs
425+ uses : actions/upload-artifact@v5
426+ if : ${{ failure() || cancelled() }}
427+ with :
428+ name : raw-output-cocoalumberjack-integration
429+ path : |
430+ 3rd-party-integrations/SentryCocoaLumberjack/.build/**/*.log
431+
432+ - name : Run CI Diagnostics
433+ if : failure()
434+ run : ./scripts/ci-diagnostics.sh
435+
404436 # This check validates that either all unit tests passed or were skipped, which allows us
405437 # to make unit tests a required check with only running the unit tests when required.
406438 # So, we don't have to run unit tests, for example, for Changelog or ReadMe changes.
0 commit comments