Skip to content

Integrate SciCode Dataset into OpenCompass Framework #54

Integrate SciCode Dataset into OpenCompass Framework

Integrate SciCode Dataset into OpenCompass Framework #54

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Create dummy keys.cfg
run: touch keys.cfg
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
uv pip install --python ${Python_ROOT_DIR} -e .
- name: Run pytest
run: |
pytest --cov