File tree 11 files changed +8
-8
lines changed
11 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
run : |
34
34
python -m pip install --upgrade pip
35
35
pip install -r requirements.txt
36
- pip install -r test/unit/ requirements.txt
36
+ pip install -r test/requirements.txt
37
37
pip install .
38
38
39
39
- name : Build Test
@@ -52,28 +52,28 @@ jobs:
52
52
run : |
53
53
cd test/must-build && make html SPHINXOPTS='-W -D toc_object_entries_show_parents=all'
54
54
55
- - name : Run Unit Testing
55
+ - name : Build Unit Tests
56
56
run : |
57
- cd test/unit
57
+ cd test
58
58
find . -name '*.html' -exec rm {} \;
59
59
make html SPHINXOPTS='-W'
60
60
(cd _build/html && rm genindex.html index.html search.html php-modindex.html)
61
61
(cd _build/html && find . -name '*.html' -exec sh -c 'xmllint {} --xpath '"'"'//div[@role="main"]'"'"' | xmllint --format - > ../../{}' \;)
62
62
63
- - name : Diff Unit Outputs
63
+ - name : Diff Unit Tests Output
64
64
run : |
65
- cd test/unit
65
+ cd test
66
66
rm -r _build
67
67
git add . -N && git diff --exit-code
68
68
69
- - name : Push Unit Changes
69
+ - name : Push Unit Tests Output
70
70
if : failure()
71
71
uses : stefanzweifel/git-auto-commit-action@v4
72
72
with :
73
73
branch : ${{ github.head_ref || github.ref_name }}.changes
74
74
# create_branch: true
75
75
push_options : ' --force'
76
- commit_message : Unit Changes
76
+ commit_message : Unit Tests Changes
77
77
commit_user_name : Bot
78
78
commit_user_email : bot@example.com
79
79
commit_author : Bot <bot@example.com>
Original file line number Diff line number Diff line change 2
2
build /
3
3
doc /_build
4
4
test /must-build /_build
5
- test /unit / _build
5
+ test /_build
6
6
* .pyc
7
7
* .egg-info
8
8
.DS_Store
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments