Skip to content
18 changes: 13 additions & 5 deletions .github/workflows/slow_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: Slow end to end tests
name: Slow end to end tests, against stable and main versions of dependencies

on:
push:
branches:
- main
- v*-release
pull_request:
branches:
- main
Comment on lines 8 to 10
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stop running on every commit of PR

schedule:
- cron: "0 0 * * 6" # Every Saturday at midnight

jobs:
run_tests:
name: Run tests
name: Run tests (${{ matrix.dependency }})
runs-on: 'aws-g4dn-2xlarge-use1-public-80'
strategy:
matrix:
dependency: [stable, vllm-transformers-main]
steps:
- name: Install Git LFS
run: |
Expand All @@ -37,9 +39,15 @@ jobs:
- name: Install the project
run: uv sync --extra dev

- name: Override dependencies
if: matrix.dependency == 'vllm-transformers-main'
run: |
uv pip install --upgrade git+https://github.com/vllm-project/vllm.git@main
uv pip install --upgrade git+https://github.com/huggingface/transformers.git@main

- name: run nvidia-smi
run: nvidia-smi

- name: Run tests
run: uv run pytest --disable-pytest-warnings --runslow tests/slow_tests/