Skip to content

Commit 44428b0

Browse files
committed
Python3 in gha
Manual gha trigger
1 parent 42bf9f7 commit 44428b0

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/master.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
branches:
99
- master
10+
workflow_dispatch:
1011

1112
jobs:
1213
test:
@@ -16,7 +17,7 @@ jobs:
1617
- uses: actions/checkout@v2
1718
- uses: actions/setup-go@v2
1819
with:
19-
go-version: '^1.15.7'
20+
go-version: '1.16.6'
2021

2122
- name: Install & build
2223
run: |
@@ -26,16 +27,14 @@ jobs:
2627
sudo apt-get install -y apt-utils make \
2728
wget git build-essential apt-transport-https \
2829
openssl libssl-dev zip unzip libffi-dev \
29-
python python-pip python-dev
30+
python3 python3-pip python3-dev
3031
3132
# Install printing with colors python package
32-
pip install setuptools wheel
33+
python3 -m pip install setuptools wheel
3334
wget https://raw.githubusercontent.com/dnanexus/dx-toolkit/master/src/python/requirements.txt
34-
pip install -r requirements.txt
35+
python3 -m pip install -r requirements.txt
3536
36-
# I used python2 because this installing dxpy causes a segmentation fault on pip3.
37-
# I have no idea why.
38-
pip install dxpy
37+
python3 -m pip install dxpy
3938
4039
go build -o dxfuse cli/main.go
4140
@@ -63,7 +62,7 @@ jobs:
6362
- uses: actions/checkout@v2
6463
- uses: actions/setup-go@v2
6564
with:
66-
go-version: '^1.15.7'
65+
go-version: '1.16.6'
6766
- name: Install & build
6867
run: |
6968
set -x

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.pythonPath": "/usr/bin/python3"
3+
}

0 commit comments

Comments
 (0)