Skip to content

Commit

Permalink
try drop uv
Browse files Browse the repository at this point in the history
  • Loading branch information
d-chambers committed Jan 16, 2025
1 parent 22499e1 commit 12b2821
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/run_min_dep_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ jobs:
install-package: false
environment-file: './.github/min_deps_environment.yml'

# Then switch over to uv. We can use this exclusively once we drop pytables.
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install dascore (min deps)
shell: bash -l {0}
run: pip install -e .

# Runs test suite and calculates coverage
- name: run test suite
shell: bash -l {0}
run: uv run --extra test --python ${{ matrix.python-version }} pytest -s --cov dascore --cov-append --cov-report=xml
shell: bash -el {0}
run: ./.github/test_code.sh

# Runs examples in docstrings
- name: test docstrings
shell: bash -l {0}
run: uv run --extra test --python ${{ matrix.python-version }} pytest dascore --doctest-modules
shell: bash -el {0}
run: ./.github/test_code.sh doctest

0 comments on commit 12b2821

Please sign in to comment.