Skip to content

Commit 81c561d

Browse files
committed
Simplify Python versions and streamline package build process 🐍
This commit reduces the matrix of Python versions for smoke tests to only 3.11. It also combines the package build and installation steps into one, making the workflow more efficient.
1 parent 2a6c23f commit 81c561d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pypi_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: ["3.9", "3.10", "3.11"]
18+
python-version: ["3.11"]
1919

2020
steps:
2121
- name: Checkout Code
@@ -33,13 +33,13 @@ jobs:
3333
pip install -r requirements/requirements.txt
3434
pip install wheel twine pytest
3535
36-
- name: Build the package
36+
- name: Build and install aicodebot
3737
run: |
3838
python setup.py sdist bdist_wheel
39+
pip install dist/*.whl
3940
4041
- name: Smoke Test
4142
run: |
42-
pip install dist/*.whl
4343
aicodebot -V
4444
pytest
4545

0 commit comments

Comments
 (0)