Skip to content

Commit

Permalink
github-actions: use python3 instead of python
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBubel committed Dec 1, 2023
1 parent 69f0fe5 commit bb17c17
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bb17c17

Please sign in to comment.