diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml new file mode 100644 index 0000000..c298b21 --- /dev/null +++ b/.github/workflows/scala.yml @@ -0,0 +1,37 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Scala CI - Run Tests + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: write + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + java-version: '8' + distribution: 'temurin' + cache: 'sbt' + - name: Run tests + working-directory: ./data-quality-profiler + run: sbt test + # Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository + - name: Upload dependency graph + uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91 + with: + working-directory: ./data-quality-profiler diff --git a/.gitignore b/.gitignore index 68be74e..be27313 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .idea target .bsp -project !plugins.sbt **/*.metadata src/test/resources/*tmp* diff --git a/data-quality-profiler/.gitignore b/data-quality-profiler/.gitignore index 68be74e..be27313 100644 --- a/data-quality-profiler/.gitignore +++ b/data-quality-profiler/.gitignore @@ -1,7 +1,6 @@ .idea target .bsp -project !plugins.sbt **/*.metadata src/test/resources/*tmp* diff --git a/data-quality-profiler/project/.gitignore b/data-quality-profiler/project/.gitignore new file mode 100644 index 0000000..5191b60 --- /dev/null +++ b/data-quality-profiler/project/.gitignore @@ -0,0 +1 @@ +project diff --git a/data-quality-profiler/project/build.properties b/data-quality-profiler/project/build.properties new file mode 100644 index 0000000..10fd9ee --- /dev/null +++ b/data-quality-profiler/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.5.5 diff --git a/data-quality-profiler/project/plugins.sbt b/data-quality-profiler/project/plugins.sbt new file mode 100644 index 0000000..d8701d2 --- /dev/null +++ b/data-quality-profiler/project/plugins.sbt @@ -0,0 +1,4 @@ +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.1") +addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.0.6") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.0") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.0")