Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 9053deb

Browse files
committed
Convert from poetry to setuptools
1 parent f148fa9 commit 9053deb

File tree

3 files changed

+44
-965
lines changed

3 files changed

+44
-965
lines changed

.github/workflows/pull_request.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,23 @@ jobs:
2222
with:
2323
args: format --check
2424

25-
- uses: actions/setup-python@v5
25+
- name: Install Python
26+
uses: actions/setup-python@v5
2627
with:
2728
python-version: '3.11'
2829

29-
- id: install-dynamodb
30-
name: Install DynamoDB
30+
- name: Install DynamoDB
31+
id: install-dynamodb
3132
uses: ./.github/actions/install-dynamodb
3233

33-
- name: Install Poetry
34-
run: pipx install poetry
34+
- name: Install Package
35+
run: pip install pytest-cov -e .[test]
3536

36-
- name: Install Dependencies
37-
run: poetry install --all-extras
38-
39-
- name: Pytest
40-
run: poetry run pytest --dynamodb-dir=${{ steps.install-dynamodb.outputs.dynamodb-dir }} --cov --cov-report=xml
41-
42-
- name: MyPy
43-
run: poetry run mypy .
37+
- name: Run Tests
38+
run: pytest --dynamodb-dir=${{ steps.install-dynamodb.outputs.dynamodb-dir }} --cov --cov-report=xml
4439

4540
- name: Upload to Codecov.io
4641
uses: codecov/codecov-action@v3
42+
43+
- name: Check Types
44+
run: pip install mypy && mypy .

0 commit comments

Comments
 (0)