Skip to content

Integration Tests and CI #328

Answered by jpriollaud
jpriollaud asked this question in Q&A
Discussion options

You must be logged in to vote

I had to conditionally disable any tags that referenced vite_ruby.

<%= vite_javascript_tag 'component.jsx' unless Rails.env.test? %>

It's a shame, because including the vite build in the rspec process (as works locally) was a nice to have.

Maybe in the future there will better container provisioning in CI, simpler artifact processing, or, in the context of this library, some way of mocking or containerizing the build without node.

@ElMassimo Really appreciate your help.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jpriollaud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants