Skip to content

Merge pull request #5 from fossabot/add-license-scan-badge #40

Merge pull request #5 from fossabot/add-license-scan-badge

Merge pull request #5 from fossabot/add-license-scan-badge #40

Workflow file for this run

name: basic test
on:
push:
workflow_dispatch:
jobs:
basis-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Build Package
run: |
python3 -m pip install build
python3 -m build
cd dist && pip install $(find . -name "easypaddleocr*.whl") && cd ..
- name: Test Package
run: |
cd test && python3 -m unittest basic_test.py