Skip to content

Commit

Permalink
Merge pull request #137 from bobbrodie/7.0.x
Browse files Browse the repository at this point in the history
SP-1085 Preparing v7.0.0
  • Loading branch information
bobbrodie authored Nov 4, 2024
2 parents 55c3bd9 + b2773fe commit bdc1251
Show file tree
Hide file tree
Showing 6 changed files with 327 additions and 325 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ name: Build
on: [push, pull_request]

jobs:
build-and-test:
check:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.9
- name: Install pipenv
run: |
pip3 install pipenv
Expand All @@ -29,6 +24,27 @@ jobs:
run: |
pipenv run mypy --install-types --non-interactive src/
pipenv run mypy -p src
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pipenv
run: |
pip3 install pipenv
pip3 install --upgrade pip
- name: Install dependencies
run: |
pipenv install --dev
pipenv run pip3 install typing-extensions
- name: Run unit tests
run: pipenv run pytest -vv -s -m unit
- name: Run a test build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- run: |
pip3 install --upgrade build
python -m build
Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ requests = "==2.32.3"
pydantic = "==2.9.2"

[dev-packages]
black = "==24.8.0"
black = "==24.10.0"
pytest = "==8.3.3"
pytest-mock = "==3.14.0"
mypy = "==1.11.2"
mypy = "==1.13.0"
pytest-mypy-plugins = "==3.1.2"
pytest-cov = "==5.0.0"

Expand Down
Loading

0 comments on commit bdc1251

Please sign in to comment.