mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
add github action
This commit is contained in:
parent
65f0af41e9
commit
771a720802
21
.github/workflows/make_test_ebook.yaml
vendored
Normal file
21
.github/workflows/make_test_ebook.yaml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Pull Request
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
testing:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
cache: 'pip' # caching pip dependencies
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python3 make.py --book_name test_books/animal_farm.epub --no_limit --test
|
||||
|
Loading…
x
Reference in New Issue
Block a user