forked from hastexo/tutor-contrib-retirement
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For now, only test PEP 8 compliance with flake8 (in the flake8 testenv), and test installing and enabling the plugin in a Tutor environment (in the default testenv, to be invoked as "py38", "py39" etc.)
- Loading branch information
Showing
6 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This directory serves as a sandbox for Tutor configurations generated | ||
in the course of automated testing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[tox] | ||
envlist = py{38,39},flake8 | ||
|
||
[gh-actions] | ||
python = | ||
3.8: py38,flake8 | ||
3.9: py39,flake8 | ||
|
||
[flake8] | ||
ignore = E124,W504 | ||
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,src | ||
|
||
[testenv] | ||
setenv = | ||
TUTOR_ROOT = tests/tutor-sandbox | ||
# No "deps" list is necessary here, since setup.py has tutor in its | ||
# install_requires list. | ||
commands = | ||
tutor plugins enable retirement | ||
tutor plugins list | ||
|
||
[testenv:flake8] | ||
skip_install = True | ||
deps = flake8 | ||
commands = flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters