mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-23 05:21: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 "-------------------"
|
||||||
echo "matrix=$matrix" >> $GITHUB_OUTPUT
|
echo "matrix=$matrix" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Install uv
|
|
||||||
run: |
|
|
||||||
apt install -y uv
|
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
needs: create-strategy
|
needs: create-strategy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -91,17 +87,28 @@ jobs:
|
|||||||
cache: pip
|
cache: pip
|
||||||
cache-dependency-path: setup.cfg
|
cache-dependency-path: setup.cfg
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Set up uv
|
||||||
run: |
|
uses: astral-sh/setup-uv@v6
|
||||||
uv sync --group tests
|
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
|
- name: Show configuration
|
||||||
run: |
|
run: |
|
||||||
uv --version
|
uv --version
|
||||||
uv pip list
|
python --version
|
||||||
docker --version
|
docker --version
|
||||||
docker ps
|
docker ps
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
uv pip install --upgrade --group tests .
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
uv run ./run-tests.sh
|
uv run ./run-tests.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user