Skip to content

[tuner] Add CI for all tuning PR #5

[tuner] Add CI for all tuning PR

[tuner] Add CI for all tuning PR #5

Workflow file for this run

name: Pytest Checks
on:
pull_request:
paths:
- ".github/workflows/pytest.yml"
- "tuning/*"
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10.12'
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Install tuner dependencies
run: |
pip install -r tuning/tuner_requirements/requirements.txt
python -m pip install iree-compiler
- name: Run pytest
working-directory: tuning
run: |
python -m pytest