-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci-example.yml
More file actions
30 lines (27 loc) · 886 Bytes
/
Copy pathci-example.yml
File metadata and controls
30 lines (27 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Verify skill and offline demo
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python: ['3.10', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: scripts/requirements.txt
- run: python -m pip install -r scripts/requirements.txt
- run: python -m unittest discover -s tests -v
- run: python scripts/prepare_input.py examples/demo.txt --title 心理自传 --out output/demo
- run: python scripts/generate_strips.py output/demo
- run: python scripts/build_document.py output/demo
- run: python scripts/validate_output.py output/demo