Skip to content

[PB] Release Dummy Solver #4

[PB] Release Dummy Solver

[PB] Release Dummy Solver #4

Workflow file for this run

name: Run linting on paperbench
on:
pull_request:
paths:
- 'project/paperbench/**'
branches:
- '**'
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:
inputs:
test_branch:
description: 'Branch to run the tests on'
required: false
default: 'main'
jobs:
test:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }}
steps:
- uses: actions/checkout@v4
with:
lfs: true
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
working-directory: ./project/paperbench
env:
UV_GIT_LFS: 1
run: |
uv sync
- name: run mypy
working-directory: ./project/paperbench
run: |
uv run mypy paperbench tests
- name: run ruff-strict
working-directory: ./project/paperbench
run: |
uv run ruff check --output-format=github --no-fix