Skip to content

Commit

Permalink
add min versions, test all version combos
Browse files Browse the repository at this point in the history
  • Loading branch information
yehoshuadimarsky committed Nov 24, 2024
1 parent 7517eaa commit 338065d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 101 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
uv-resolution-strategy: ["highest", "lowest-direct", "lowest"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -43,10 +44,7 @@ jobs:
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync

- name: Install package
run: uv pip install --no-deps .
run: uv sync --resolution ${{ matrix.uv-resolution-strategy }}

- name: Pull MSSQL server Docker image
run: docker pull mcr.microsoft.com/mssql/server:2022-latest
Expand Down
19 changes: 9 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,20 @@ version = {attr = "bcpandas.__version__.version"}

[dependency-groups]
dev = [
"pre-commit",
"black",
"mypy",
"pre-commit >=3",
"mypy >=1",
"ruff",
"types-setuptools",
]
test = [
"codetiming",
"docker",
"hypothesis" ,
"codetiming >=1",
"docker >=6",
"hypothesis >=6",
"ipython >=8.10.0",
"matplotlib" ,
"pytest" ,
"pytest-cov" ,
"requests",
"matplotlib >=3.7",
"pytest >=7",
"pytest-cov >=4",
"requests >=2",
]

[tool.uv]
Expand Down
117 changes: 30 additions & 87 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 338065d

Please sign in to comment.