Skip to content

fix: should keep namespace structure of toc & opf #159

fix: should keep namespace structure of toc & opf

fix: should keep namespace structure of toc & opf #159

Workflow file for this run

name: build
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: "2.1.3"
- name: Configure Poetry
run: |
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
poetry install --with dev
- name: Run pyright checking
run: |
poetry run pyright epub_translator tests
- name: Run linting
run: |
poetry run pylint ./epub_translator/**/*.py ./tests/**/*.py
- name: Run tests
run: |
poetry run python test.py