Commit c9976e2
chore: Add dedicated CI workflow for 3rd-party integrations (#6945)
* Add `SenrtySwiftLog` integration
* Add default `swift package init` .gitignore
* chore: Add test workflow for swift log
* Add macOS version
* Remove file-filter
* Update integration's package to use local path
* Add ci job to run test
* Add files-changed gate
* Fix example commands
* Add SPM test to required checks
* update folder structure
* update name
* Update `sentry-xcodebuild.sh` to be compatible with SPM packages
* Add `--update-path-to-sentry-cocoa` to prepare-package.sh
* Improve script
* Reuse existing `unit-test-common.yml`
* Fix path
* Update GitHub Actions workflow to use 'runs-on' for macOS version
* Remove unnecesary files
* Add missing parameters
* Update GitHub Actions workflow to correct script path for package preparation
* Add debugging steps to unit-test-common.yml for improved visibility during testing
* Update paths
* Update path
* Update path in prepare-package.sh for Sentry Cocoa package reference
* Add support for testing SPM packages in CI workflows
* Add comment
* delete old/unused fils from previous merge
* Changed the working directory for SwiftLog integration to SentrySwiftLog in CI workflows.
Removed the option to update the path to sentry-cocoa from the prepare-package.sh script and use `swift package edit` directly.
* - Introduced a new workflow for testing 3rd-party integrations, consolidating tests for SentrySwiftLog, SentrySwiftyBeaver, SentryCocoaLumberjack, and SentryPulse.
- Updated file filters to trigger tests based on changes in the 3rd-party integrations directory
- Removed outdated unit test jobs from the main test workflow to streamline CI processes.
* Updated the variable name from `path_to_scripts_folder` to `scripts_directory` in both the 3rd-party integrations and unit test workflows for consistency and clarity. Adjusted script execution commands to utilize the new variable name.
* Update actions/checkout version in 3rd-party integrations workflow to improve consistency across jobs.
* Add tests for SentrySwiftyBeaver, SentryCocoaLumberjack, and SentryPulse in the 3rd-party integrations workflow with scheme/xcode
* Rename and update the Xcode integration test job to `test-integrations-xcodebuild` for clarity, reflecting its focus on SPM packages using xcodebuild. Adjusted job dependencies accordingly.
* Update SPM project option handling in sentry-xcodebuild.sh to accept a value instead of a boolean flag, improving flexibility in script usage.
* Add default working directory to unit test workflow configuration for improved test execution.
* Fix call for --spm-project to use missing param
* Inherit secrets in the 3rd-party integrations workflow
* Enhance unit test workflow by specifying working directory for code coverage and enable code coverage for SPM projects in the build script.
* diable slather for spm xcodebuild, as we don't have xcodeproj files
* dont upload codecov
* bump to 18.5
* bump rest to 18.5
* Update artifact naming in unit test workflow to include scheme for better identification and no re-uploading atrifacts with same name
* use working dir in Run CI Diagnostics
* Update name groupings
* UPdate name job grouping
* update naming
* trigger 3rd-party integration tests on source changes
* reduce number of runs
* test third-party integrations against pre-build artefacts instead of current release
* Only build one static target
* handle local artifacts in shared workflow
* fix path
* build sim slice
* use inputs.working_directory for raw logs and archiving test results
* add build-xcframeworks to required check
* remove install + create (like on main)
* revert SKIP_SWIFTLINT
* add simulatorAndmacOSOnly to build-xcframework-local.sh
* use sed intead of swift package edit
swift package edit would pull in all dependencies, which would fail on release
* include all related scripts to file filter
* minor improvements
* remove unneeded scripts dir argument
* don’t install slather for som build
* only run spm tests, revert changes to shared tests workflow and build script
* use macOSOnly
* Remove 3rd-party-integrations filter from unit test in file-filters.yml
---------
Co-authored-by: Denis Andrasec <denrase@gmail.com>1 parent d492bc8 commit c9976e2
File tree
3 files changed
+150
-133
lines changed- .github
- workflows
3 files changed
+150
-133
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
528 | 527 | | |
529 | 528 | | |
530 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | 363 | | |
492 | 364 | | |
493 | 365 | | |
| |||
499 | 371 | | |
500 | 372 | | |
501 | 373 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | 374 | | |
507 | 375 | | |
508 | 376 | | |
| |||
0 commit comments