chore: only run integration tests after merge to dev #3950
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI 🧪 | |
on: [ pull_request ] | |
jobs: | |
linters: | |
name: "Python ${{ matrix.python-version }} on ubuntu-latest" | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
python-version: ["3.12", "3.11"] | |
steps: | |
- name: Checkout mava | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "0.5.4" | |
enable-cache: true | |
cache-dependency-glob: "requirements/requirements**.txt" # invalidate cache when requirements file changes | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: Install python dependencies 🔧 | |
run: uv pip install .[dev] | |
env: | |
UV_SYSTEM_PYTHON: 1 | |
- name: Run linters 🖌️ | |
run: pre-commit run --all-files --verbose |