Skip to content

Commit d305763

Browse files
fix: add ODBC dependencies to GHA
1 parent 2074a5e commit d305763

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,28 @@ on:
88
permissions:
99
contents: write
1010

11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version:
17+
- "3.11"
18+
- "3.12"
19+
- "3.13"
20+
- "3.14"
21+
steps:
22+
- uses: actions/checkout@v6
23+
---
24+
name: Python package
25+
on:
26+
pull_request:
27+
branches:
28+
- master
29+
30+
permissions:
31+
contents: write
32+
1133
jobs:
1234
build:
1335
runs-on: ubuntu-latest
@@ -25,6 +47,15 @@ jobs:
2547
run: |
2648
sudo apt-get update
2749
sudo apt-get install -y unixodbc-dev
50+
- name: Install uv and set Python version
51+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
52+
with:
53+
python-version: ${{ matrix.python-version }}
54+
- name: Install dependencies
55+
run: uv sync --dev
56+
- name: Lint with Ruff
57+
run: |
58+
uv run ruff check . --fix
2859
2960
- name: Install uv and set Python version
3061
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b

0 commit comments

Comments
 (0)