You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2021/10/01 17:11:44 UTC

[tinkerpop] branch 3.4-dev updated: Fixed python version install in gh actions

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch 3.4-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.4-dev by this push:
     new 22165d6  Fixed python version install in gh actions
22165d6 is described below

commit 22165d610ef3ee667a0f99aadd30d22b7e311252
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Fri Oct 1 13:10:28 2021 -0400

    Fixed python version install in gh actions
    
    Misunderstood how that worked from some examples - installing 2/3 separately now CTR
---
 .github/workflows/build-test.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index ba3c114..f1a6d52 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -120,13 +120,16 @@ jobs:
         with:
           java-version: '8'
           distribution: 'adopt'
-      - name: Set up Python 2.x/3.x
+      - name: Set up Python 2.x
         uses: actions/setup-python@v2
         with:
-          python-version: '2.7,3.8'
+          python-version: '2.7'
+      - name: Set up Python 3.x
+        uses: actions/setup-python@v2
+        with:
+          python-version: '3.8'
       - name: Setup Python requirements
         run: |
-          sudo apt install gcc libkrb5-dev
           python3 -m pip install --upgrade pip
           pip install virtualenv
       - name: Build with Maven