Skip to content

Commit 2dbd2f0

Browse files
committed
move test/unit to test
1 parent 4f208ac commit 2dbd2f0

11 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
python -m pip install --upgrade pip
3535
pip install -r requirements.txt
36-
pip install -r test/unit/requirements.txt
36+
pip install -r test/requirements.txt
3737
pip install .
3838
3939
- name: Build Test
@@ -52,28 +52,28 @@ jobs:
5252
run: |
5353
cd test/must-build && make html SPHINXOPTS='-W -D toc_object_entries_show_parents=all'
5454
55-
- name: Run Unit Testing
55+
- name: Build Unit Tests
5656
run: |
57-
cd test/unit
57+
cd test
5858
find . -name '*.html' -exec rm {} \;
5959
make html SPHINXOPTS='-W'
6060
(cd _build/html && rm genindex.html index.html search.html php-modindex.html)
6161
(cd _build/html && find . -name '*.html' -exec sh -c 'xmllint {} --xpath '"'"'//div[@role="main"]'"'"' | xmllint --format - > ../../{}' \;)
6262
63-
- name: Diff Unit Outputs
63+
- name: Diff Unit Tests Output
6464
run: |
65-
cd test/unit
65+
cd test
6666
rm -r _build
6767
git add . -N && git diff --exit-code
6868
69-
- name: Push Unit Changes
69+
- name: Push Unit Tests Output
7070
if: failure()
7171
uses: stefanzweifel/git-auto-commit-action@v4
7272
with:
7373
branch: ${{ github.head_ref || github.ref_name }}.changes
7474
# create_branch: true
7575
push_options: '--force'
76-
commit_message: Unit Changes
76+
commit_message: Unit Tests Changes
7777
commit_user_name: Bot
7878
commit_user_email: bot@example.com
7979
commit_author: Bot <bot@example.com>

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dist/
22
build/
33
doc/_build
44
test/must-build/_build
5-
test/unit/_build
5+
test/_build
66
*.pyc
77
*.egg-info
88
.DS_Store

test/unit/Makefile test/Makefile

File renamed without changes.

test/unit/conf.py test/conf.py

File renamed without changes.

test/unit/index.md test/index.md

File renamed without changes.

test/unit/make.bat test/make.bat

File renamed without changes.
File renamed without changes.

test/unit/method.md test/method.md

File renamed without changes.

test/unit/ns.html test/ns.html

File renamed without changes.

test/unit/ns.md test/ns.md

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)