Skip to content

Unit tests for zeroshot, grading and utils #3

Unit tests for zeroshot, grading and utils

Unit tests for zeroshot, grading and utils #3

Workflow file for this run

name: Lint and Test
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install autopep8 pytest numpy setuptools>=66 wheelwheel>=0.36
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f pyproject.toml ]; then pip install -e .; fi
- name: Run Test
run: |
python -m pytest