Skip to content

Commit 925b89b

Browse files
committed
ci: fix GH actions
1 parent 8609423 commit 925b89b

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.github/workflows/packaging.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.7", "3.8", "3.9", "3.10"]
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -25,7 +25,8 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install tox tox-gh-actions
28+
python -m pip install tox tox-gh-actions
29+
python -m pip install poetry poetry poetry-plugin-export
2930
3031
- name: Test with tox
3132
run: tox
@@ -39,8 +40,14 @@ jobs:
3940
uses: actions/checkout@v3
4041
with:
4142
ref: ${{ github.ref_name }}
43+
44+
- name: Install dependencies
45+
run: |
46+
python -m pip install --upgrade pip
47+
python -m pip install poetry poetry-plugin-export
48+
4249
- name: Build sdist file
43-
run: python setup.py sdist
50+
run: poetry build
4451

4552
- name: Upload sidst to be used for other jobs
4653
uses: actions/upload-artifact@v3

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ['3.8', '3.90', '3.10', '3.11', '3.12']
15+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
python -m pip install --upgrade pip
2828
pip install tox tox-gh-actions
29-
python -m pip install poetry poetry poetry-plugin-export
29+
python -m pip install poetry poetry-plugin-export
3030
3131
- name: Test with tox
3232
run: tox

.github/workflows/python-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
run: |
2727
python -m pip install --upgrade pip
2828
python -m pip install tox tox-gh-actions
29-
python -m pip install poetry poetry poetry-plugin-export
29+
python -m pip install poetry poetry-plugin-export
3030
- name: Test with tox
3131
run: tox

0 commit comments

Comments
 (0)