Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CONDA_EXE: mamba

on:
push:
branches:
Expand All @@ -25,13 +22,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v5
with:
python-version-file: .python-version
allow-prereleases: true
cache: pip
- run: pip install tox-uv
- run: tox -e typing
enable-cache: true
- run: uv run --extra typing mypy

run-tests:

Expand All @@ -48,18 +42,16 @@ jobs:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-tinytex@v2
if: runner.os != 'Windows'
- uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
cache: pip
allow-prereleases: true
- run: pip install tox

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

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

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

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

- name: Upload coverage reports of end-to-end tests.
if: runner.os == 'Linux' && matrix.python-version == '3.10'
Expand Down
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ This is a record of all past pytask-latex releases and what went into them in re
chronological order. Releases follow [semantic versioning](https://semver.org/) and all
releases are available on [Anaconda.org](https://anaconda.org/conda-forge/pytask-latex).

## 0.4.3 - 2025-06-xx
## 0.4.3 - 2025-06-01

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

## 0.4.2 - 2023-11-30

Expand Down
15 changes: 0 additions & 15 deletions tox.ini

This file was deleted.

Loading