mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
name: Remote Plugin Tests
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
tests:
|
|
timeout-minutes: 45
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
pyv: ["3.14"]
|
|
plugin: ["dvc-s3"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
path: dvc
|
|
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
repository: treeverse/${{ matrix.plugin }}
|
|
ref: main
|
|
path: ${{ matrix.plugin }}
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.pyv }}
|
|
|
|
- uses: astral-sh/setup-uv@v7
|
|
with:
|
|
enable-cache: true
|
|
cache-dependency-glob: "**/pyproject.toml"
|
|
cache-suffix: ${{ matrix.pyv }}
|
|
|
|
- name: Install plugin + DVC@PR
|
|
run: |
|
|
uv pip install "./dvc[testing]" --system
|
|
uv pip install -e "./${{ matrix.plugin }}[tests]" --system
|
|
|
|
- name: Run plugin tests
|
|
timeout-minutes: 15
|
|
working-directory: ${{ matrix.plugin }}
|
|
run: pytest -v -n=auto
|