[DOCS] Fix documentation of the quality scorer #66
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |