Skip to content

[DOCS] Fix documentation of the quality scorer #66

[DOCS] Fix documentation of the quality scorer

[DOCS] Fix documentation of the quality scorer #66

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
- name: Display Python version
run: python --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev,eval]
- name: Lint
run: |
flake8
- name: Unit Tests
run: |
export IS_TESTING=true
python -m unittest discover -s uts -p "*.py"
- name: Build Sphinx HTML documentation
run: |
sphinx-build -b html docs/source docs/build
zip -r docs.zip docs/build
- name: Upload built documentation
uses: actions/upload-artifact@v4
with:
name: docs-build
path: docs.zip
retention-days: 7