From 39a2492ae75c314f4a1820bb05e3f6b579cefd0f Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Mon, 9 Nov 2020 12:15:45 -0500 Subject: [PATCH] Python 3.7 --- .github/workflows/ci.yml | 4 ++++ integration-test/bin/java | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbddddc8c..f00f86426 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,10 @@ jobs: uses: olafurpg/setup-scala@v10 with: java-version: "adopt@1.${{ matrix.java }}" + - name: Set up Python 3.7 + uses: actions/setup-python@v2 + with: + python-version: 3.7 - name: Coursier cache uses: coursier/cache-action@v5 - name: Cache sbt diff --git a/integration-test/bin/java b/integration-test/bin/java index 56920a236..dc584d35b 100755 --- a/integration-test/bin/java +++ b/integration-test/bin/java @@ -1,9 +1,9 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys if '--version' in sys.argv or '-version' in sys.argv: - print 'openjdk version "1.8.0_212"' + print('openjdk version "1.8.0_212"') else: for arg in sys.argv[1:]: print(repr(arg)[1:-1])