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

CI のテスト内容を増やしたい #18

Open
xirc opened this issue Jun 24, 2021 · 0 comments
Open

CI のテスト内容を増やしたい #18

xirc opened this issue Jun 24, 2021 · 0 comments

Comments

@xirc
Copy link
Contributor

xirc commented Jun 24, 2021

CI では g8Test が動いています。

lerna.g8/build.sbt

Lines 8 to 10 in 36ee04f

test in Test := {
val _ = (g8Test in Test).toTask("").value
},

Giter8 — Testing templates locally のページに次のような説明があります。

When you enter sbt’s shell in the base directory of a template project that is configured to use this plugin, the action g8Test will apply the template in the default output directory (under target/sbt-test) and run the scripted test for that project in a forked process. You can supply the test scripted as project/giter8.test or src/test/g8/test, otherwise >test is used.

この issue 作成時点では、project/giter8.testsrc/test/g8/test がないため、> test のみが実行されています。
次の内容を CI でテストできればより嬉しいと思います。

  • sbt scalafmtSbtCheck
  • sbt scalafmtCheckAll
  • sbt slick-codegen/run
    このコマンドを動かすためには MariaDB を Docker コンテナ等で起動する必要があり手間がかかるかもしれません。
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

No branches or pull requests

1 participant