update mask that determines if errors are present or not #656
Workflow file for this run
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: Retriever Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| jobs: | |
| retriever-unit-tests: | |
| name: Run Retriever Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install unit test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pytest pandas pydantic pyyaml typer scikit-learn | |
| python -m pip install api/ | |
| - name: Run retriever unit tests | |
| env: | |
| PYTHONPATH: nemo_retriever/src | |
| run: python -m pytest nemo_retriever/tests -q |