Skip to content

Commit 6620283

Browse files
committed
Migrate to pyproject.toml
1 parent a5f0ad9 commit 6620283

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/test.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,22 @@ jobs:
3838
matrix:
3939
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
4040

41+
steps:
42+
- uses: actions/checkout@v4
43+
44+
- name: "Setup Python, Poetry and Dependencies"
45+
uses: dsoftwareinc/setup-python-poetry-action@v1
46+
with:
47+
python-version: ${{ matrix.python-version }}
48+
poetry-version: 1.8.3
49+
50+
- name: Test
51+
run: |
52+
poetry run python -m unittest
53+
54+
test-with-coverage:
55+
needs: [ test ]
56+
runs-on: ubuntu-latest
4157
steps:
4258
- uses: actions/checkout@v4
4359

@@ -50,4 +66,4 @@ jobs:
5066
- name: Test
5167
run: |
5268
poetry run coverage run -m unittest
53-
poetry run coverage report -m
69+
poetry run coverage report -m

0 commit comments

Comments
 (0)