Skip to content

Merge pull request #56 from enoch3712/55-vision-without-documentloade… #67

Merge pull request #56 from enoch3712/55-vision-without-documentloade…

Merge pull request #56 from enoch3712/55-vision-without-documentloade… #67

Workflow file for this run

name: Python package workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install poetry
poetry install
# - name: Run tests
# run: poetry run pytest
- name: Build package
run: poetry build
- name: Publish to PyPI
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}