mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
Another tests.yml fix
This commit is contained in:
23
.github/workflows/tests.yml
vendored
23
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user