-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Compile and test against multiple versions * Do not mark spark as provided in examples * Vary spark versions only in example projects * Update actions
- Loading branch information
1 parent
48b2b50
commit bb88367
Showing
5 changed files
with
95 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,12 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout spark-scala3 | ||
uses: actions/checkout@v2 | ||
- uses: olafurpg/setup-scala@v10 | ||
uses: actions/checkout@v4 | ||
- uses: olafurpg/setup-scala@v14 | ||
with: | ||
java-version: [email protected] | ||
- name: Run tests | ||
run: sbt test | ||
- name: Run WordCount | ||
timeout-minutes: 5 | ||
run: sbt "examples / runMain rdd.wordcount" | ||
- name: Run Dataset-based WordCount | ||
timeout-minutes: 5 | ||
run: sbt "examples / runMain rdd.wordcountSql" | ||
- name: Run StarWars | ||
timeout-minutes: 5 | ||
run: sbt "examples / runMain sql.StarWars" | ||
- name: Run all main classes for all spark versions | ||
timeout-minutes: 15 | ||
run: sbt "runAllMains" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import sbt._ | ||
|
||
case class SparkVersionAxis( | ||
idSuffix: String, | ||
directorySuffix: String, | ||
sparkVersion: String | ||
) extends VirtualAxis.WeakAxis {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters