Skip to content

Commit 4827b20

Browse files
committed
chore: use uv to install dependencies when testing
1 parent cb38943 commit 4827b20

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/testing.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,31 @@ jobs:
1212
matrix:
1313
os: [ubuntu-latest]
1414
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14-dev']
15+
1516
runs-on: ${{ matrix.os }}
1617
steps:
1718
- uses: actions/checkout@v4
19+
1820
- name: Set up Python
1921
uses: actions/setup-python@v5
2022
with:
2123
python-version: ${{ matrix.python-version }}
24+
25+
- name: Install UV
26+
uses: astral-sh/setup-uv@v3
27+
2228
- name: Install dependencies
2329
run: |
24-
python -m pip install pytest pytest-cov
25-
python -m pip install -e .
30+
# python -m pip install pytest pytest-cov
31+
# python -m pip install -e .
32+
uv sync
33+
2634
- name: Test with pytest
2735
run: |
2836
python -m pytest --cov --cov-report lcov
29-
- name: Coveralls
30-
uses: coverallsapp/github-action@master
37+
38+
- name: Upload coverage information to Coveralls
39+
uses: coverallsapp/github-action@v2
3140
with:
3241
github-token: ${{ secrets.GITHUB_TOKEN }}
3342
path-to-lcov: coverage.lcov

src/tstr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
"template_from_parts",
4545
"dedent",
4646
]
47-
__version__ = "0.3.0"
47+
__version__ = "0.3.1.dev1"

0 commit comments

Comments
 (0)