Skip to content

Commit 2a69be9

Browse files
committed
python3 in yml & pytest install
1 parent d454796 commit 2a69be9

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
# Installing the package with "[dev]" flag will install test dependecies as well,
2626
# enabling us to run pytest.
2727
run: |
28-
python -m pip install --upgrade pip
29-
python -m pip install wheel
30-
pip install .[dev]
28+
python3 -m pip install --upgrade pip
29+
python3 -m pip install wheel pytest
30+
python3 -m pip install .[dev]
3131
3232
- name: Run Python Tests
33-
run: python -m pytest
33+
run: python3 -m pytest
3434

3535
build_and_publish_pypi:
3636
needs: [python_tests]
@@ -50,11 +50,11 @@ jobs:
5050

5151
- name: Install Python build dependencies
5252
run: |
53-
python -m pip install --upgrade pip
54-
python -m pip install wheel hatch
53+
python3 -m pip install --upgrade pip
54+
python3 -m pip install wheel hatch
5555
5656
- name: Build Source and Binary wheel distributions
57-
run: python -m hatch build -t wheel
57+
run: python3 -m hatch build -t wheel
5858

5959
- name: Publish to PyPI.
6060
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
# Installing the package with "[dev]" flag will install test dependecies as well,
2727
# enabling us to run pytest.
2828
run: |
29-
python -m pip install --upgrade pip
30-
python -m pip install wheel
31-
pip install .[dev]
29+
python3 -m pip install --upgrade pip
30+
python3 -m pip install wheel pytest
31+
python3 -m pip install .[dev]
3232
3333
- name: Lint with black
3434
run: black --check .
3535

3636
- name: Test with pytest
37-
run: python -m pytest
37+
run: python3 -m pytest
3838

3939
generate_and_upload_code_coverage:
4040
needs: [python_tests]
@@ -52,8 +52,8 @@ jobs:
5252
- name: Install Python build dependencies
5353
run: |
5454
python -m pip install --upgrade pip
55-
python -m pip install wheel
56-
pip install .[dev]
55+
python3 -m pip install wheel pytest
56+
python3 -m pip install .[dev]
5757
5858
- name: Generate Code Coverage report for Python code
5959
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "hatchling.build"
77

88
[project]
99
name = "jupyter-matlab-proxy-bash"
10-
version = "0.5.2"
10+
version = "0.5.3"
1111
description = "Jupyter Server Proxy for MATLAB"
1212
readme = "README.md"
1313
requires-python = ">=3.7"

0 commit comments

Comments
 (0)