Skip to content

Merge pull request #3 from t1p/chore/add-governance-ci-checks #2

Merge pull request #3 from t1p/chore/add-governance-ci-checks

Merge pull request #3 from t1p/chore/add-governance-ci-checks #2

Workflow file for this run

name: ci-governance
on:
pull_request:
push:
branches:
- master
jobs:
lint:
name: ci / lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Compile check
run: python -m compileall -q .
tests:
name: ci / tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run minimal tests
run: |
pytest -q test_ndcg_standalone.py test_evaluation.py