Skip to content

Commit 62a9b3f

Browse files
committed
ci: add py3.4 to test list and use the build library instead of uv for publish
1 parent 9b247da commit 62a9b3f

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
TEST_MSSQL_PASS: Abcd12345678
2727
strategy:
2828
matrix:
29-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
29+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
3030
steps:
3131
- uses: actions/checkout@v5
3232
- uses: actions/setup-python@v6
3333
with:
3434
python-version: ${{ matrix.python-version }}
35+
allow-prereleases: true
3536
- uses: astral-sh/setup-uv@v7
3637
with:
3738
enable-cache: true
@@ -44,8 +45,10 @@ jobs:
4445
sudo curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list -o /etc/apt/sources.list.d/mssql-release.list
4546
sudo apt-get update
4647
ACCEPT_EULA=Y sudo apt-get install -y msodbcsql18
47-
- name: Run ci
48-
run: make ci
48+
- name: Check style
49+
run: make check
50+
- name: Run tests
51+
run: make testall
4952
- name: Upload Coverage
5053
run: uvx coveralls --service=github
5154
env:

.github/workflows/pypi.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111
- uses: actions/setup-python@v6
1212
with:
1313
python-version: '3.x'
14-
- uses: astral-sh/setup-uv@v7
15-
- name: Build dists
16-
run: make build
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install build
18+
- name: Build package
19+
run: python -m build
1720
- name: Pypi Publish
1821
uses: pypa/gh-action-pypi-publish@release/v1
1922
with:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _style:
1414
style: deps _style
1515

1616
_codeqc:
17-
# mypy $(checkfiles)
17+
#mypy $(checkfiles)
1818
bandit -c pyproject.toml -r $(checkfiles)
1919
twine check dist/*
2020
codeqc: build _codeqc

0 commit comments

Comments
 (0)