Skip to content

Merge pull request #32 from predictionguard/jacob/new-embeddings #22

Merge pull request #32 from predictionguard/jacob/new-embeddings

Merge pull request #32 from predictionguard/jacob/new-embeddings #22

Workflow file for this run

name: branch-build
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Pytest
run: pip install pytest
- name: Run Tests
run: pytest tests
env:
PREDICTIONGUARD_API_KEY: ${{ secrets.PREDICTIONGUARD_API_KEY }}
PREDICTIONGUARD_URL: ${{ secrets.PREDICTIONGUARD_URL }}
TEST_MODEL_NAME: ${{ secrets.TEST_MODEL_NAME }}
TEST_TEXT_EMBEDDINGS_MODEL: ${{ secrets.TEST_TEXT_EMBEDDINGS_MODEL }}
TEST_MULTIMODAL_EMBEDDINGS_MODEL: ${{ secrets.TEST_MULTIMODAL_EMBEDDINGS_MODEL }}
TEST_VISION_MODEL: ${{ secrets.TEST_VISION_MODEL }}
- name: To PyPI using Flit
uses: AsifArmanRahman/to-pypi-using-flit@v1
with:
password: ${{ secrets.TESTPYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/