Merge 3047a299e6 into 73ba69d8cd
This commit is contained in:
commit
62313c15f5
2 changed files with 12 additions and 12 deletions
21
.github/workflows/tests.yml
vendored
21
.github/workflows/tests.yml
vendored
|
|
@ -4,22 +4,19 @@ on: [pull_request]
|
|||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: |
|
||||
3.10
|
||||
3.11
|
||||
3.12
|
||||
- name: Set up pip cache
|
||||
if: runner.os == 'Linux'
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
|
||||
restore-keys: ${{ runner.os }}-pip-
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install Hatch
|
||||
run: pipx install hatch
|
||||
|
||||
- name: Run tests
|
||||
run: hatch test
|
||||
|
|
|
|||
|
|
@ -85,3 +85,6 @@ exclude_lines = [
|
|||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
only-include = ["src/markitdown"]
|
||||
|
||||
[[tool.hatch.envs.hatch-test.matrix]]
|
||||
python = ["3.13", "3.12", "3.11", "3.10"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue