-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Switch to GHA #215
Switch to GHA #215
Conversation
"scalafmtSbtCheck", | ||
"scalafmtCheckAll", | ||
) ++ | ||
List(scalaChat, scalaMultiRoomChat, scalaClusteredChat, javaChat, javaMultiRoomChat, javaClusteredChat) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
apt: | ||
packages: | ||
- unzip | ||
- dbus-x11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice the GHA VM's provide these packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure 😄 Just I migrated tests to webdrivermanager and used a headless mode
.addArguments("--headless", "--no-sandbox", "--disable-dev-shm-usage") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That why now we don't need install Chrome driver manually and use X11 for tests 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://github.com/actions/virtual-environments/blob/ubuntu20/20220508.1/images/linux/Ubuntu2004-Readme.md there should be xvfb
, unzip
and dbus
, however not sure about dbus-x11
, maybe it's pulled in by another dep anyway. Whatever.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That why now we don't need install Chrome driver manually and use X11 for tests 😄
lazy val runChromeWebDriver = taskKey[Unit]("Run the chromewebdriver tests") | ||
|
||
val macwire = "com.softwaremill.macwire" %% "macros" % "2.3.4" | ||
val lombok = "org.projectlombok" % "lombok" % "1.18.8" | ||
val lombok = "org.projectlombok" % "lombok" % "1.18.8" % Provided |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 👍
No description provided.