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

tuist test doesn't use cached binaries #5034

Closed
danieleformichelli opened this issue Feb 7, 2023 · 7 comments · Fixed by #5501
Closed

tuist test doesn't use cached binaries #5034

danieleformichelli opened this issue Feb 7, 2023 · 7 comments · Fixed by #5501
Assignees
Labels
bounty Resolving this issue is rewarded with a bounty: https://github.com/tuist/tuist/discussions/4982 type:bug Something isn't working type:enhancement New feature or request

Comments

@danieleformichelli
Copy link
Collaborator

What happened?

When using tuist test command the cached binaries are ignored.

We should leverage the tuist cache to speedup the tests execution.

How do we reproduce it?

  • Got to the app_with_tests fixture
  • Run tuist cache warm
  • Run tuist test

Error log

Cached targets are built from source even if the cache was already warmed

macOS version

12.3

Tuist version

3.15.0

Xcode version

14.2.0

@danieleformichelli danieleformichelli added type:bug Something isn't working type:enhancement New feature or request bounty Resolving this issue is rewarded with a bounty: https://github.com/tuist/tuist/discussions/4982 labels Feb 7, 2023
@ronanociosoig-200 ronanociosoig-200 self-assigned this Feb 23, 2023
@ronanociosoig
Copy link
Collaborator

I presume that what I am looking for in the console is the following line:

[tvOSFramework] Compiling tvOSFramework_vers.c

A fix would mean this does not appear in the test command output. Is that correct?

@ronanociosoig
Copy link
Collaborator

Work in progress on this is on the branch bugfix/tuist-test-use-cached-binaries

@Alex-Ozun
Copy link
Collaborator

@ronanociosoig have you been able to make progress on this work?

@leszko11
Copy link
Collaborator

@Alex-Ozun you're asking, because you want to give it a shot? If not, I can take a look

@Alex-Ozun
Copy link
Collaborator

@leszko11 Please feel free to work on it
Cc @fortmarek

@leszko11
Copy link
Collaborator

Say no more 🏃🏼

@fortmarek
Copy link
Member

Hey, folks 👋

Just a quick update that I already have a functioning prototype for this, so this feature should get in main relatively soon 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty Resolving this issue is rewarded with a bounty: https://github.com/tuist/tuist/discussions/4982 type:bug Something isn't working type:enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants