From 12b28212006a104ed83f807a8ce7171b3ba1573d Mon Sep 17 00:00:00 2001 From: Derrick Chambers Date: Wed, 15 Jan 2025 16:20:21 -0800 Subject: [PATCH 1/3] try drop uv --- .github/workflows/run_min_dep_tests.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run_min_dep_tests.yml b/.github/workflows/run_min_dep_tests.yml index 16a79d7b..57dae993 100644 --- a/.github/workflows/run_min_dep_tests.yml +++ b/.github/workflows/run_min_dep_tests.yml @@ -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 \ No newline at end of file From 591d422fcf122fa9d8b311622f14b88e771c8026 Mon Sep 17 00:00:00 2001 From: Derrick Chambers Date: Wed, 15 Jan 2025 16:21:53 -0800 Subject: [PATCH 2/3] lint --- .github/workflows/run_min_dep_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_min_dep_tests.yml b/.github/workflows/run_min_dep_tests.yml index 57dae993..0e1dada8 100644 --- a/.github/workflows/run_min_dep_tests.yml +++ b/.github/workflows/run_min_dep_tests.yml @@ -54,4 +54,4 @@ jobs: # Runs examples in docstrings - name: test docstrings shell: bash -el {0} - run: ./.github/test_code.sh doctest \ No newline at end of file + run: ./.github/test_code.sh doctest From 2584160d8fe55b7649e746ecdf6bb5a5f8e06f2d Mon Sep 17 00:00:00 2001 From: Derrick Chambers Date: Wed, 15 Jan 2025 16:25:18 -0800 Subject: [PATCH 3/3] add test deps --- .github/workflows/run_min_dep_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_min_dep_tests.yml b/.github/workflows/run_min_dep_tests.yml index 0e1dada8..2d7bffdd 100644 --- a/.github/workflows/run_min_dep_tests.yml +++ b/.github/workflows/run_min_dep_tests.yml @@ -44,7 +44,7 @@ jobs: - name: Install dascore (min deps) shell: bash -l {0} - run: pip install -e . + run: pip install -e .[test] # Runs test suite and calculates coverage - name: run test suite