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

Add support for Scala.js and Scala Native #54

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

mdedetrich
Copy link
Contributor

@mdedetrich mdedetrich commented Oct 2, 2022

Since ScalaCheck 1.15.4 supports all of the latest stable versions of Scala.js/scala-native (see https://mvnrepository.com/artifact/org.scalacheck/scalacheck) I tried to add support for Scala.js/Scala.native.

Not entirely sure how the publishing works however both compile and test indicate that they are generating target for JS/native so publishing should theoritically work.

Note that .jsPlatform/.nativePlatform work the same as .crossRow (see https://github.com/sbt/sbt-projectmatrix#scalajs-support for more info). On the same note, VirtualAxis.js and VirtualAxis.native is not needed in the axisValues = respectively because .jsPlatform/.nativePlatform automatically adds this axis for you.

@mdedetrich mdedetrich force-pushed the add-scalajs-native-support branch from ede0da4 to 6a4c8cf Compare October 2, 2022 11:47
@mdedetrich mdedetrich changed the title Add support for Scala.js and Scala Native Add support for Scala.js and Scala Native to 1.15 Oct 2, 2022
@mdedetrich mdedetrich marked this pull request as draft October 2, 2022 11:51
@mdedetrich mdedetrich force-pushed the add-scalajs-native-support branch 2 times, most recently from 050ae48 to 3a9d7de Compare October 2, 2022 12:01
@mdedetrich mdedetrich marked this pull request as ready for review October 2, 2022 12:01
@codecov
Copy link

codecov bot commented Oct 2, 2022

Codecov Report

Merging #54 (b9403b9) into main (b92aaff) will not change coverage.
The diff coverage is n/a.

❗ Current head b9403b9 differs from pull request most recent head 05bc5c5. Consider uploading reports for the commit 05bc5c5 to get more accurate results

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   75.53%   75.53%           
=======================================
  Files          28       28           
  Lines         282      282           
  Branches       13       12    -1     
=======================================
  Hits          213      213           
  Misses         69       69           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mdedetrich mdedetrich force-pushed the add-scalajs-native-support branch 3 times, most recently from d8504de to 794872a Compare October 2, 2022 12:22
@jeffmay
Copy link
Contributor

jeffmay commented Oct 3, 2022

@mdedetrich I think we will need to update this to support 1.16 as well

@mdedetrich mdedetrich force-pushed the add-scalajs-native-support branch from 794872a to b9403b9 Compare October 3, 2022 23:36
@mdedetrich mdedetrich changed the title Add support for Scala.js and Scala Native to 1.15 Add support for Scala.js and Scala Native Oct 3, 2022
@mdedetrich
Copy link
Contributor Author

@jeffmay I have just rebased the PR to pull in the latest changes from main (which include 1.16 support). I also renamed the commit so its more clear.

@jeffmay jeffmay force-pushed the add-scalajs-native-support branch from b9403b9 to 295cdf1 Compare October 6, 2022 17:02
@jeffmay jeffmay requested a review from a team as a code owner October 6, 2022 17:02
@mdedetrich mdedetrich force-pushed the add-scalajs-native-support branch from 295cdf1 to 523c056 Compare October 6, 2022 17:09
@mdedetrich mdedetrich force-pushed the add-scalajs-native-support branch from 523c056 to 05bc5c5 Compare October 6, 2022 17:12
@mdedetrich
Copy link
Contributor Author

Just rebased PR off main to pull in new github actions

@jeffmay jeffmay merged commit 42fec3a into rallyhealth:main Oct 7, 2022
@mdedetrich mdedetrich deleted the add-scalajs-native-support branch October 7, 2022 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants