Merge pull request #5 from fossabot/add-license-scan-badge #40
This file contains hidden or 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: 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 |