PG-541: Adding /detokenize function and test along with audio diarization and timestamps #80
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: branch-test | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| tests: | |
| name: Installing requirements and testing functions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Install Dependencies | |
| run: pip install pytest ruff | |
| - name: Run Ruff | |
| run: ruff check --ignore F401 --output-format=github . | |
| - name: Run Tests | |
| run: pytest tests | |
| env: | |
| PREDICTIONGUARD_API_KEY: ${{ secrets.PREDICTIONGUARD_API_KEY}} | |
| PREDICTIONGUARD_URL: ${{ vars.PREDICTIONGUARD_URL}} | |
| TEST_CHAT_MODEL: ${{ vars.TEST_CHAT_MODEL }} | |
| TEST_TEXT_EMBEDDINGS_MODEL: ${{ vars.TEST_TEXT_EMBEDDINGS_MODEL }} | |
| TEST_MULTIMODAL_EMBEDDINGS_MODEL: ${{ vars.TEST_MULTIMODAL_EMBEDDINGS_MODEL }} | |
| TEST_VISION_MODEL: ${{ vars.TEST_VISION_MODEL }} | |
| TEST_RERANK_MODEL: ${{ vars.TEST_RERANK_MODEL }} |