Skip to content

Commit

Permalink
Remove Python setup task from matrix job.
Browse files Browse the repository at this point in the history
  • Loading branch information
arashi01 committed Jan 31, 2021
1 parent 74dfb44 commit e63cd40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ jobs:
if: matrix.platform == 'native'
run: sbt ++${{ matrix.scala }} validateAllNative

- name: Setup Python
if: matrix.platform == 'jvm' && (matrix.scala != '3.0.0-M2' && matrix.scala != '3.0.0-M3')
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Validate JVM (Scala ${{ matrix.scala }})
if: matrix.platform == 'jvm'
run: sbt ++${{ matrix.scala }} buildJVM bench/test
Expand Down
5 changes: 0 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ val Scala3Cond = s"(matrix.scala == '$DottyOld' || matrix.scala == '$DottyNew')"
ThisBuild / githubWorkflowBuild := Seq(
WorkflowStep.Sbt(List("validateAllJS"), name = Some("Validate JavaScript"), cond = Some(JsCond)),
WorkflowStep.Sbt(List("validateAllNative"), name = Some("Validate Scala Native"), cond = Some(NativeCond)),
WorkflowStep.Use(UseRef.Public("actions", "setup-python", "v2"),
name = Some("Setup Python"),
params = Map("python-version" -> "3.x"),
cond = Some(JvmCond + " && " + Scala2Cond)
),
WorkflowStep.Sbt(List("buildJVM", "bench/test"),
name = Some("Validate JVM (Scala ${{ matrix.scala }})"),
cond = Some(JvmCond)
Expand Down

0 comments on commit e63cd40

Please sign in to comment.