Another tests.yml fix

This commit is contained in:
2025-04-28 18:26:14 +01:00
parent f537f0e383
commit d26e8cae6f

View File

@@ -64,10 +64,6 @@ jobs:
echo "-------------------"
echo "matrix=$matrix" >> $GITHUB_OUTPUT
- name: Install uv
run: |
apt install -y uv
tests:
needs: create-strategy
runs-on: ubuntu-latest
@@ -91,17 +87,28 @@ jobs:
cache: pip
cache-dependency-path: setup.cfg
- name: Install dependencies
run: |
uv sync --group tests
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
python-version: "${{ matrix.python-version }}"
enable-cache: true
cache-dependency-glob: |
**/setup.cfg
**/pyproject.toml
**/requirements*.txt
cache-suffix: ${{ matrix.python-version }}-${{ matrix.db-service || 'nodb' }}-${{ matrix.search-service || 'nosearch' }}
- name: Show configuration
run: |
uv --version
uv pip list
python --version
docker --version
docker ps
- name: Install dependencies
run: |
uv pip install --upgrade --group tests .
- name: Run tests
run: |
uv run ./run-tests.sh