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

Adding tests in CI #50

Closed
TonioGela opened this issue Jun 14, 2023 · 1 comment · Fixed by #105
Closed

Adding tests in CI #50

TonioGela opened this issue Jun 14, 2023 · 1 comment · Fixed by #105
Assignees

Comments

@TonioGela
Copy link
Member

It will be helpful to have tests in CI that check that the toolkit is able to compile a few test scripts.

I'm not sure we can achieve something like this, but we can try. WDYT @armanbilge?

@TonioGela
Copy link
Member Author

Probably having a few lines like

//> using dep toolkit typelevel::@current_snapshot@

import cats.effect.*

object Hello extends IOApp.Simple {
  def run = IO.println("Hello")
}

and a CI job that compiles it

- uses: VirtusLab/scala-cli-setup@main
- run: scala-cli compile hello-ce.scala

will do

@TonioGela TonioGela self-assigned this Jun 14, 2023
@armanbilge armanbilge linked a pull request Sep 26, 2023 that will close this issue
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 a pull request may close this issue.

2 participants