Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pytest matrix 3.9-3.13 #419

Merged
merged 15 commits into from
Jan 11, 2025
29 changes: 29 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Pytest

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
env:
AWS_REGION: ${{ vars.AWS_REGION }}
AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r sleuth/requirements.txt
pytest
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
addopts = -p no:warnings
15 changes: 6 additions & 9 deletions sleuth/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
attrs==23.2.0
boto3==1.35.97
botocore==1.35.97
certifi==2024.12.14
chardet==5.2.0
charset-normalizer==3.4.1
freezegun==1.5.1
idna==3.10
iniconfig==2.0.0
jmespath==1.0.1
more-itertools==9.1.0
packaging==23.2
packaging==24.2
pluggy==1.5.0
py==1.11.0
pyparsing==3.2.1
pytest==7.4.4
pytest==8.3.4
pytest-freezegun==0.4.2
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
python-json-logger==3.2.1
requests==2.32.3
s3transfer==0.10.4
setuptools==75.8.0
six==1.17.0
tabulate==0.9.0
urllib3==2.3.0
wcwidth==0.2.13
Loading