Skip to content
Closed
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: 9 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ jobs:

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

run-tests:

Expand All @@ -43,12 +41,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v4
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
cache: pip
allow-prereleases: true
- run: pip install tox-uv

- if: matrix.os == 'ubuntu-latest'
run: |
Expand All @@ -59,7 +55,7 @@ jobs:

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

- name: Upload unit test coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v5
Expand All @@ -68,7 +64,7 @@ jobs:

- name: Run integration tests.
shell: bash -l {0}
run: tox -e test -- -m integration --cov=src --cov=tests --cov-report=xml -n auto
run: uvx --with=tox-uv tox -e test -- -m integration --cov=src --cov=tests --cov-report=xml -n auto

- name: Upload integration test coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v5
Expand All @@ -77,7 +73,7 @@ jobs:

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

- name: Upload end_to_end test coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v5
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ tests/test_jupyter/*.txt
.ruff_cache
.venv
docs/jupyter_execute

.env
logs/
__pycache__/
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies = [
"rich",
"sqlalchemy>=2",
'tomli>=1; python_version < "3.11"',
'typing-extensions; python_version < "3.9"',
"universal-pathlib>=0.2.2",
]

Expand Down
Loading