Skip to content

Commit 07807d4

Browse files
committed
Rename test/ folder to tests/
1 parent 05d191b commit 07807d4

File tree

9 files changed

+12
-3
lines changed

9 files changed

+12
-3
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
pip install setuptools wheel twine
2020
- name: Make sure unit tests succeed
2121
run: |
22-
pip install -r test/test_requirements.txt
22+
pip install -r tests/test_requirements.txt
2323
pip install -e .
2424
pytest
2525
- name: Build and publish

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
python-version: 3.7
1515
- name: Generate coverage report
1616
run: |
17-
pip install -r test/test_requirements.txt
17+
pip install -r tests/test_requirements.txt
1818
pip install -e .
1919
pytest --cov=mkdocs_git_authors_plugin --cov-report=xml
2020
- name: Static code checking with pyflakes

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,17 @@ pip install -e .
1212
pytest --cov=mkdocs_git_authors_plugin --cov-report term-missing test
1313
```
1414

15+
In addition, this project uses pyflakes for static code checking:
16+
17+
```python
18+
pip install pyflakes
19+
pyflakes tests/ mkdocs_git_authors_plugin/
20+
```
21+
1522
## Submitting Changes
1623

24+
Make sure to discuss changes in an issue before putting in the work.
25+
1726
To get changes merged, create a pull request.
1827

1928
#### Code Style
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def build_docs_setup(mkdocs_path, output_path):
1717

1818
def test_basic_working(tmp_path):
1919

20-
result = build_docs_setup('test/basic_setup/mkdocs.yml', tmp_path)
20+
result = build_docs_setup('tests/basic_setup/mkdocs.yml', tmp_path)
2121
assert result.exit_code == 0, "'mkdocs build' command failed"
2222

2323
index_file = tmp_path/'index.html'
File renamed without changes.

0 commit comments

Comments
 (0)