Day 5 / May 20 (Fri)¶
Live Coding Session by Mateusz¶
A live coding session by Mateusz on his own solution to Scala Exercise: Intertwine Two Collections.
ScalaCheck¶
Introduction to ScalaCheck using Mateusz's my-zip.
Hunting down issues using ScalaCheck:
- git clone https://github.com/MateuszSab/my-zip/
- Install ScalaCheck
- https://www.scalatest.org/user_guide/writing_scalacheck_style_properties
Use the following code:
check((a: List[Int], b: List[String]) => myzip(a, b).size == (a ::: b).size)
Learn More¶
Github Workflows¶
Introduction to Github Workflows by reviewing existing workflows:
Others¶
- https://github.com/cashapp/pranadb/tree/main/.github/workflows
- https://github.com/dbt-labs/dbt-spark/tree/main/.github/workflows
- https://github.com/delta-io/delta/tree/master/.github/workflows
- https://github.com/datapunchorg/punch/blob/main/.github/workflows
Home Exercise¶
Create a Github Workflow for your own project to execute sbt test
on a push.