Skip to content

Commit 65f8f31

Browse files
committed
Use only uv.
1 parent 0923a0d commit 65f8f31

File tree

3 files changed

+9
-31
lines changed

3 files changed

+9
-31
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ concurrency:
55
group: ${{ github.head_ref || github.run_id }}
66
cancel-in-progress: true
77

8-
env:
9-
CONDA_EXE: mamba
10-
118
on:
129
push:
1310
branches:
@@ -25,13 +22,10 @@ jobs:
2522

2623
steps:
2724
- uses: actions/checkout@v4
28-
- uses: actions/setup-python@v5
25+
- uses: astral-sh/setup-uv@v5
2926
with:
30-
python-version-file: .python-version
31-
allow-prereleases: true
32-
cache: pip
33-
- run: pip install tox-uv
34-
- run: tox -e typing
27+
enable-cache: true
28+
- run: uv run --extra typing mypy
3529

3630
run-tests:
3731

@@ -48,18 +42,16 @@ jobs:
4842
- uses: actions/checkout@v4
4943
- uses: r-lib/actions/setup-tinytex@v2
5044
if: runner.os != 'Windows'
51-
- uses: actions/setup-python@v5
45+
- uses: astral-sh/setup-uv@v5
5246
with:
47+
enable-cache: true
5348
python-version: ${{ matrix.python-version }}
54-
cache: pip
55-
allow-prereleases: true
56-
- run: pip install tox
5749

5850
# Unit, integration, and end-to-end tests.
5951

6052
- name: Run unit tests and doctests.
6153
shell: bash -l {0}
62-
run: tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
54+
run: uv run --extra test pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
6355

6456
- name: Upload coverage report for unit tests and doctests.
6557
if: runner.os == 'Linux' && matrix.python-version == '3.10'
@@ -68,7 +60,7 @@ jobs:
6860

6961
- name: Run end-to-end tests.
7062
shell: bash -l {0}
71-
run: tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
63+
run: uv run --extra test pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
7264

7365
- name: Upload coverage reports of end-to-end tests.
7466
if: runner.os == 'Linux' && matrix.python-version == '3.10'

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ This is a record of all past pytask-latex releases and what went into them in re
44
chronological order. Releases follow [semantic versioning](https://semver.org/) and all
55
releases are available on [Anaconda.org](https://anaconda.org/conda-forge/pytask-latex).
66

7-
## 0.4.3 - 2025-06-xx
7+
## 0.4.3 - 2025-06-01
88

99
- {pull}`75` adds rye.
1010
- {pull}`81` adds support for Python 3.13 and drops support for Python 3.8.
11+
- {pull}`82` remove setup with tox-uv.
1112

1213
## 0.4.2 - 2023-11-30
1314

tox.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)