File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,24 @@ jobs:
13
13
python-version : 3.9
14
14
- name : Install requirements
15
15
run : pip install -r requirements.txt
16
+ - name : Install sqlite
17
+ run : sudo apt-get install sqlite3 unzip
16
18
- name : Get current date
17
19
id : date
18
20
run : echo "::set-output name=date::$(date +'%Y-%m-%d_%H:%M:%S')"
19
21
- name : Get current timestamp
20
22
id : timestamp
21
23
run : echo "::set-output name=timestamp::$(date +'%s')"
22
24
- name : Test build Anki Deck
23
- run : python generate.py --stop 3
25
+ run : >
26
+ python generate.py --start 1 --stop 5 --page-size 2
27
+ && unzip leetcode.apkg
28
+ && sqlite3 collection.anki2 .schema
29
+ && sqlite3 collection.anki2 .dump
30
+ env :
31
+ LEETCODE_SESSION_ID : ${{ secrets.LEETCODE_SESSION_ID }}
32
+ - name : Test build Anki Deck with Amazon list id
33
+ run : python generate.py --stop 10 --list-id 7p5x763
24
34
env :
25
35
LEETCODE_SESSION_ID : ${{ secrets.LEETCODE_SESSION_ID }}
26
36
- name : Build Anki Deck
You can’t perform that action at this time.
0 commit comments