Skip to content

Merge pull request #16 from enoch3712/15-fixing-tesseract-concurrent-… #15

Merge pull request #16 from enoch3712/15-fixing-tesseract-concurrent-…

Merge pull request #16 from enoch3712/15-fixing-tesseract-concurrent-… #15

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/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}