mirror of
https://github.com/santinic/audiblez.git
synced 2025-09-18 21:40:39 +00:00
26 lines
No EOL
1.1 KiB
YAML
26 lines
No EOL
1.1 KiB
YAML
name: Git clone and run
|
|
run-name: Git clone and run
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
git-clone-and-run:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- uses: actions/checkout@v3
|
|
- name: Install dependencies
|
|
run: pip install poetry && poetry install
|
|
- name: check it runs as script
|
|
run: poetry run audiblez --help
|
|
- name: install ffmpeg and espeak-ng
|
|
run: sudo apt-get update && sudo apt-get install ffmpeg espeak-ng --fix-missing
|
|
# - name: download test epub
|
|
# run: wget https://github.com/daisy/epub-accessibility-tests/releases/download/fundamental-2.0/Fundamental-Accessibility-Tests-Basic-Functionality-v2.0.0.epub
|
|
# - name: create audiobook
|
|
# run: poetry run audiblez Fundamental-Accessibility-Tests-Basic-Functionality-v2.0.0.epub
|
|
# - name: check m4b output file
|
|
# run: ls -lah Fundamental-Accessibility-Tests-Basic-Functionality-v2.0.0.m4b
|
|
- name: run unit-tests (unittest classes in /test)
|
|
run: poetry run python -m unittest discover test |