mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-23 15:48:09 +02:00
github-actions: use python3 instead of python
This commit is contained in:
parent
69f0fe5d2f
commit
bb17c17aba
1 changed files with 7 additions and 6 deletions
13
.github/workflows/actions.yml
vendored
13
.github/workflows/actions.yml
vendored
|
|
@ -30,25 +30,26 @@ jobs:
|
||||||
|
|
||||||
- name: Setup virtual environment
|
- name: Setup virtual environment
|
||||||
run: |
|
run: |
|
||||||
python -m venv .venv
|
python3 --version
|
||||||
|
python3 -m venv .venv
|
||||||
source .venv/bin/activate # this will not work on widows
|
source .venv/bin/activate # this will not work on widows
|
||||||
|
|
||||||
- name: Upgrade pip
|
- name: Upgrade pip
|
||||||
run: pip install --upgrade pip
|
run: pip3 install --upgrade pip
|
||||||
|
|
||||||
- name: Install wheel
|
- name: Install wheel
|
||||||
run: pip install pytest
|
run: pip3 install pytest
|
||||||
|
|
||||||
- name: Install lib
|
- name: Install lib
|
||||||
run: python setup.py develop
|
run: python3 setup.py develop
|
||||||
|
|
||||||
- name: Run pytest
|
- name: Run pytest
|
||||||
run: pytest
|
run: pytest
|
||||||
|
|
||||||
- name: Install wheel
|
- name: Install wheel
|
||||||
run: pip install wheel
|
run: pip3 install wheel
|
||||||
|
|
||||||
- name: Build wheel
|
- name: Build wheel
|
||||||
run: python setup.py wheel
|
run: python3 setup.py wheel
|
||||||
|
|
||||||
# TODO: add deploy job
|
# TODO: add deploy job
|
||||||
Loading…
Add table
Add a link
Reference in a new issue