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