Files
owocr/.github/workflows/main.yml
Maciej Budyś 71fe10621a Create main.yml
2022-11-03 20:49:44 +01:00

36 lines
624 B
YAML

name: manga-ocr
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: manga_ocr
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e manga_ocr
- name: Test
run: |
pytest manga_ocr/tests