github-actions: use python3 instead of python

This commit is contained in:
Martin Bubel 2023-12-01 19:44:19 +01:00
parent 69f0fe5d2f
commit bb17c17aba

View file

@ -30,25 +30,26 @@ jobs:
- name: Setup virtual environment
run: |
python -m venv .venv
python3 --version
python3 -m venv .venv
source .venv/bin/activate # this will not work on widows
- name: Upgrade pip
run: pip install --upgrade pip
run: pip3 install --upgrade pip
- name: Install wheel
run: pip install pytest
run: pip3 install pytest
- name: Install lib
run: python setup.py develop
run: python3 setup.py develop
- name: Run pytest
run: pytest
- name: Install wheel
run: pip install wheel
run: pip3 install wheel
- name: Build wheel
run: python setup.py wheel
run: python3 setup.py wheel
# TODO: add deploy job