Skip to content

Commit 43fc3ee

Browse files
committed
more
1 parent 28d532c commit 43fc3ee

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/py.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525
sudo apt-get update
2626
sudo apt-get -y upgrade
2727
sudo apt-get -y install libcurl4-openssl-dev python3-rpy2 libmlpack-dev r-base-dev python3-dev pandoc
28-
#sudo python3 -m pip install --upgrade pip
29-
if [ -f requirements.txt ]; then sudo pip3 install -r requirements.txt --upgrade; fi
30-
sudo pip3 install flake8 pytest --upgrade
28+
python3 -m venv python-venv
29+
source python-venv/bin/activate
30+
python3 -m pip install --upgrade pip
31+
if [ -f requirements.txt ]; then pip3 install -r requirements.txt --upgrade; fi
32+
pip3 install flake8 pytest --upgrade
3133
- name: Test and check Python
3234
run: |
33-
sudo make test
34-
sudo make check
35+
make test
36+
make check

0 commit comments

Comments
 (0)