Merge pull request #32 from predictionguard/jacob/new-embeddings #22
This file contains 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-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/ |