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