Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the Unit Test media files into development assets. #3569

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

pixlwave
Copy link
Member

This PR makes the following changes:

  • Move UnitTests/Resources/Media into a top-level DevelopmentAssets directory.
  • Add DevelopmentAssets/Media as resources to the Element X target, also flagging them as development assets.

This will mean that we can reference these assets in SwiftUI previews, and Xcode will strip them from the release bundle when uploading to the App Store.

Move UnitTests/Resources/Media into a top-level DevelopmentAssets directory.
@pixlwave pixlwave requested a review from a team as a code owner November 28, 2024 15:24
@pixlwave pixlwave requested review from Velin92 and removed request for a team November 28, 2024 15:24
Copy link

github-actions bot commented Nov 28, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 76fe1bd

@pixlwave pixlwave added the pr-misc for other changes label Nov 28, 2024
Copy link

sonarcloud bot commented Nov 28, 2024

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.55%. Comparing base (000073c) to head (76fe1bd).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3569      +/-   ##
===========================================
- Coverage    78.58%   78.55%   -0.04%     
===========================================
  Files          757      757              
  Lines        63662    63662              
===========================================
- Hits         50031    50009      -22     
- Misses       13631    13653      +22     
Flag Coverage Δ
unittests 69.67% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pixlwave pixlwave merged commit fdbacbc into develop Nov 28, 2024
14 checks passed
@pixlwave pixlwave deleted the doug/thumbnail-sizing branch November 28, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-misc for other changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants