Typo fix: Execution.scala (#2003) #114
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
name: CI | |
on: | |
pull_request: | |
branches: | |
- '**' | |
# it's annoying to have CI double run on PR/push | |
# limit push to only final integration branches like develop | |
push: | |
branches: | |
- 'develop' | |
jobs: | |
run-base-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
# it's helpful to see exactly which test modules passed/failed | |
# this finishes all matrix nodes even if one fails along the way | |
fail-fast: false | |
# all combinations that we will run in parallel to increase throughput | |
matrix: | |
include: | |
- scala-version: "2.11.12" | |
BUILD: "enforce code format" | |
script: './sbt ++$TRAVIS_SCALA_VERSION clean scalafmtSbtCheck scalafmtCheckAll' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-args scalding-base scalding-date maple scalding-quotation scalding-dagon" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-args scalding-base scalding-date maple scalding-quotation scalding-dagon" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-avro scalding-hraven scalding-commons scalding-parquet scalding-parquet-scrooge" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-avro scalding-hraven scalding-commons scalding-parquet scalding-parquet-scrooge" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-core scalding-json scalding-db scalding-cats" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-core scalding-json scalding-db scalding-cats" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-hadoop-test" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-hadoop-test" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-estimators-test" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-estimators-test" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-serialization scalding-spark scalding-beam" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-serialization scalding-spark scalding-beam" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "base" | |
TEST_TARGET: "scalding-thrift-macros" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.12.14" | |
BUILD: "base" | |
TEST_TARGET: "scalding-thrift-macros" | |
script: './scripts/run_test.sh' | |
- scala-version: "2.11.12" | |
BUILD: "test tutorials and matrix tutorials and repl" | |
TEST_TARGET: "scalding-repl" | |
script: "./scripts/run_test.sh && ./scripts/build_assembly_no_test.sh scalding-assembly && ./scripts/test_tutorials.sh && ./scripts/build_assembly_no_test.sh scalding-assembly && ./scripts/test_matrix_tutorials.sh" | |
- scala-version: "2.12.14" | |
BUILD: "test tutorials and matrix tutorials and repl" | |
TEST_TARGET: "scalding-repl" | |
script: "./scripts/run_test.sh && ./scripts/build_assembly_no_test.sh scalding-assembly && ./scripts/test_tutorials.sh && ./scripts/build_assembly_no_test.sh scalding-assembly && ./scripts/test_matrix_tutorials.sh" | |
- scala-version: "2.11.12" | |
BUILD: "test repl and typed tutorials and microsite" | |
script: "./sbt ++$TRAVIS_SCALA_VERSION clean docs/makeMicrosite && ./scripts/build_assembly_no_test.sh scalding-repl && ./scripts/test_repl_tutorial.sh && ./scripts/build_assembly_no_test.sh scalding-core && ./scripts/test_typed_tutorials.sh && ./scripts/build_assembly_no_test.sh execution-tutorial && ./scripts/test_execution_tutorial.sh" | |
- scala-version: "2.12.14" | |
BUILD: "test repl and typed tutorials and microsite" | |
script: "./sbt ++$TRAVIS_SCALA_VERSION clean docs/makeMicrosite && ./scripts/build_assembly_no_test.sh scalding-repl && ./scripts/test_repl_tutorial.sh && ./scripts/build_assembly_no_test.sh scalding-core && ./scripts/test_typed_tutorials.sh && ./scripts/build_assembly_no_test.sh execution-tutorial && ./scripts/test_execution_tutorial.sh" | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # fetch all tags for sbt-dynver to properly resolve scalding version | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt-openj9' | |
java-version: '8.0.322+6' # non hadoop 3.3 versions build break https://issues.apache.org/jira/browse/HADOOP-16590 | |
- uses: coursier/cache-action@v6 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.4 | |
- name: Install Ruby Gems | |
run: | | |
gem install sass -v 3.7.4 | |
gem install jekyll -v 3.2.1 | |
- name: "Run Test Variant" | |
env: | |
TRAVIS_SCALA_VERSION: ${{ matrix.scala-version }} | |
BUILD: ${{ matrix.BUILD }} | |
TEST_TARGET: ${{ matrix.TEST_TARGET }} | |
run: | | |
mkdir -p /home/runner/.ivy2/cache/ # some scripts assume that this folder exists | |
${{ matrix.script }} |