about summary refs log tree commit diff stats
path: root/.github/workflows/python.yml
Commit message (Collapse)AuthorAgeFilesLines
* GHActions: Refrain from installing PyLint for teststoonn2022-06-131-1/+3
| | | | | | Not all versions of Python we test with support installing the PyLint version we need and the tests don't require PyLint anyway, so no need to install any version of PyLint at all.
* Actions: Pytests no longer compatible with Python <3.6toonn2022-02-051-1/+1
| | | | | We need to test f-strings now and it's a bother making that compatible with Python 2.
* Actions: Add on pull_request againtoonn2021-07-241-0/+4
| | | | | | | | | | | | | | | My testing was flawed. The status checks seemed to work fine because the builds were triggered on push in the same repo. But this doesn't work across repos. So GH Actions having run to completion on someone's fork doesn't give us the status checks we need. Therefore we want to run our Actions on PRs too, that way they're run from the ranger repo as well and the status checks should actually be informative. One possible improvement is that we could duplicate the workflows we want to run on PRs, that way we can drop all the things that don't really matter for status checks from the version matrices. Otoh that means we have pretty much duplicated workflows we need to keep in sync. Thank you for your lack of abstractions, GH Actions 🙄
* Actions: Check whether on_pullrequest is necessarytoonn2021-07-201-4/+0
|
* Actions: Reduce tested versions to oldest and newesttoonn2021-07-201-1/+1
|
* Actions: Fix Python and Pypy paths filterstoonn2021-07-201-2/+2
|
* Actions: Fix pylint and Pypy paths filtertoonn2021-07-201-2/+2
|
* Actions: Separate pypy tests because they failtoonn2021-07-201-1/+1
|
* Actions: Update, incorporate and splittoonn2021-07-201-8/+6
| | | | | | Update the required actions. Incorporate doctest and manpage_completion test in the test action and separate pylint because it doesn't work with as many python versions.
* Actions: Drop 3.5 from linting because of old pylinttoonn2021-07-201-1/+1
|
* Actions: Set TERM=dumb to avoid tput warningstoonn2021-07-201-0/+2
|
* Actions: Add on pull_request to get status checkstoonn2021-07-201-2/+6
| | | | | | This should enable the pylint, pytest, flake8 and shellcheck lints to run when PRs are opened and have them act as status checks so PRs aren't merged without them passing.
* Clarify excluded tests for github workflowtoonn2020-07-051-1/+1
| | | | | Add pytest to the failing workflow because otherwise it's not run with python 2.7.
* Prepare for Pylint transition from versions <2toonn2020-07-051-2/+2
|
* Seperate doctests and pyteststoonn2019-09-241-2/+2
| | | | | | Doctests are interfering with CI because curses can't find the terminfo database. This'll require looking into but for now we'll run the doctests seperately and expect failure. Same thing for pytests.
* Drop py3.7toonn2019-09-181-1/+1
| | | | | Temporarily drop python 3.7 from the workflow because it's not compatible with `pylint<2`.
* Add GitHub Actions citoonn2019-09-031-0/+30
Run our python tests and shellcheck in seperate workflows only when relevant files are changed, respectively python files or `scope.sh`. This tests with one extra version of python, 3.7. GitHub's version of shellcheck seems to be missing a few flags. So we download the latest stable version, 0.7.0 currently.