Florian Bruhin
9ed3646430
Upgrade to pytest 6.0.1
2020-07-30 19:03:24 +02:00
Florian Bruhin
a49674600c
ci: Also ignore leading escape for flake8
2020-07-30 18:13:35 +02:00
Florian Bruhin
76eed0aa9c
tox: Simplify pyinstaller envs
2020-07-30 16:23:05 +02:00
Florian Bruhin
321f2f0529
ci: Strip stray ANSI character in mypy problemmatcher
...
For some odd reason, there's a stray \033[0m at the beginning of the
line (despite colors being disabled?) which throws off GitHub's path matching.
Adjust the regex so that this isn't part of the filename (but still optional,
in case it gets removed from mypy).
2020-07-30 10:40:39 +02:00
Florian Bruhin
2da53a6be0
scripts: Add iniconfig changelog link to recompile_requirements
2020-07-29 10:32:20 +02:00
Florian Bruhin
6263f7aa9a
pylint: Ignore not-callable for tests
...
Workaround for https://github.com/pytest-dev/pytest/issues/7558
2020-07-29 10:23:03 +02:00
Florian Bruhin
5f64f72b5e
ci: Loop pytest problem matcher
2020-07-28 14:53:19 +02:00
Florian Bruhin
754ff5ab7f
recompile_requirements: Improve output on CI
2020-07-28 14:11:42 +02:00
Florian Bruhin
f8190f368f
recompile_requirements: Add GHA groups
2020-07-27 16:20:24 +02:00
Florian Bruhin
b72f5e7a98
recompile_requirements: Add testing via tox
2020-07-27 16:15:04 +02:00
Florian Bruhin
b265c737ce
Update changelog links
2020-07-27 14:45:58 +02:00
Florian Bruhin
66bab470a1
Update recompile_requirements
2020-07-27 09:30:30 +02:00
Florian Bruhin
1daa863218
Add yamllint
2020-07-23 11:21:04 +02:00
Florian Bruhin
ecac1503cd
ci: Show GitHub Actions markers in check_coverage
2020-07-20 16:49:32 +02:00
Florian Bruhin
d1f2ea37fb
scripts: Add cheroot changelog
2020-07-20 10:43:11 +02:00
Florian Bruhin
da585f2b5d
asciidoc2html: Fix linking of quickstart file
...
The change in #5559 was wrong: We want to link quickstart.html to
doc/quickstart.html relatively *inside* the website copy, we don't want to link
to the absolute path of the git repository.
This happened to work on the old hoster, but broke after the server move to
uberspace, where the webserver process isn't allowed to access files outside of
the web document root.
2020-07-18 11:39:00 +02:00
Florian Bruhin
1aeefe1968
ci: Disable mypy coloring again
...
Looks like mypy uses curses to get colors, so there's really nothing we can do
here on GitHub Actions.
2020-07-13 22:34:51 +02:00
Florian Bruhin
f82c8cb5fe
ci: Improve mypy output
...
- Set MYPY_FORCE_TERMINAL_WIDTH to get 180-column output (rather than 80), so
that error messages fit on one line.
- Set MYPY_FORCE_COLOR to get colored output
- Adjust problemmatcher regex accordingly
2020-07-13 22:16:42 +02:00
Florian Bruhin
c012569976
scripts: Only check doc/ folder in check_doc_changes.py
2020-07-12 23:06:46 +02:00
Florian Bruhin
32608d10e4
ci: Use helper functions to begin/end GitHub Action groups
2020-07-12 23:05:46 +02:00
Florian Bruhin
a301d8b470
ci: Improve tox -e docs output
2020-07-10 23:58:58 +02:00
Florian Bruhin
de4a1c1a28
config: Split Qt argument/envvar handling to a separate file
...
Preparation for some changes for #5421
2020-07-10 11:18:00 +02:00
Florian Bruhin
858a6e3268
ci: Add exception class to problem matcher group
...
Otherwise, with a "KeyError: 1" we will only get "1" as message.
2020-07-09 09:47:53 +02:00
Florian Bruhin
1a3e370270
ci: Fix problemmatchers.py structure
2020-07-08 18:30:09 +02:00
Florian Bruhin
e10c37d153
ci: Simplify pytest problem matchers
...
Let's not match on so much unrelated stuff...
2020-07-08 18:11:32 +02:00
Florian Bruhin
0e1ac9f0ab
Update for qutebrowser.org server move
2020-07-07 22:02:23 +02:00
Florian Bruhin
486c73b43a
scripts: Make asciidoc2html.py --web work outside the repository
...
See #5559
2020-07-07 22:00:44 +02:00
Florian Bruhin
9eedfabd69
scripts: Save .zip files in dist/ in build_release.py
2020-07-06 14:21:56 +02:00
Florian Bruhin
6bb6c5bf4d
Fix long line
2020-07-06 14:21:56 +02:00
Florian Bruhin
7e80a14f45
recompile_requirements: Add changelog link list
...
Based on my qutebrowser bookmarks \o/
2020-07-06 13:53:59 +02:00
Florian Bruhin
e7f05436d9
ci: Fix up problemmatcher patterns
...
We need to have a message for the file/line we get from a stacktrace - let's
see if it works out to take it from the next "E ..." line.
2020-07-06 13:27:50 +02:00
Florian Bruhin
a4864546ab
ci: Try to improve pytest problemmatchers
...
Don't match every single line of a stacktrace.
2020-07-06 13:23:33 +02:00
Florian Bruhin
f916965cd5
problemmatchers: Write multiple files
2020-07-03 18:56:54 +02:00
Florian Bruhin
34f66cf4a8
problemmatcher: Take temporary directory as argument
...
Hopefully fixes things on Docker
2020-07-03 18:56:54 +02:00
Florian Bruhin
cfc5ac9498
problemmatcher: Improve/simplify regexes
2020-07-03 18:56:54 +02:00
Florian Bruhin
2511c3cea4
ci: Write problem matchers for Python/pytest exceptions
2020-07-03 18:56:54 +02:00
Florian Bruhin
c97203dd62
ci: Change structure in problemmatcher.py again
...
While trying to simplify the data structure, we didn't consider a case where we
want to register multiple matchers with the same severity...
Let's simplify things a bit, by having a list of matchers in the data. Also
attempt to pass that list to GitHub, because they support doing so, in
theory...
2020-07-03 18:56:54 +02:00
Florian Bruhin
81afc1eddf
misc_checks: Simplify patterns
2020-07-03 18:56:54 +02:00
Florian Bruhin
10968f248f
ci: Add artefact to misspelled words
2020-07-03 18:56:54 +02:00
Florian Bruhin
abfd47f31b
ci: Get rid of install.sh
2020-07-03 18:56:54 +02:00
Florian Bruhin
57eb973d81
ci: Run shellcheck without docker
...
Should be installed natively on GitHub Actions
2020-07-03 18:56:54 +02:00
Florian Bruhin
fdfb29c992
CI: Improve apt installation
2020-07-03 18:56:54 +02:00
Florian Bruhin
69d6d58990
ci: Remove codecov requirements
...
We don't need to install codecov anymore as we use the GitHub Action
2020-07-03 18:56:51 +02:00
Florian Bruhin
240d2e27cb
ci: Don't install texlive with asciidoc
2020-07-03 18:55:46 +02:00
Florian Bruhin
d1e64dbaca
recompile_requirements: Deal with lines without version number
2020-07-03 18:55:46 +02:00
Florian Bruhin
a4de4ef6a4
ci: Remove remaining Travis/AppVeyor specific code
...
Also reenables some tests which have been problematic on Travis/AppVeyor but
maybe work fine nowadays.
2020-07-03 18:55:46 +02:00
Florian Bruhin
bd4a9030aa
ci: Analyze backtraces on GitHub Actions
2020-07-03 18:55:46 +02:00
Florian Bruhin
edf3adf1e8
ci: Get rid of run.sh
...
Instead, run tox directly from ci.yml and have an args matrix variable there.
This also changes the macOS args to only run unit tests, like on Travis.
2020-07-03 18:55:46 +02:00
Florian Bruhin
9b55bb2f49
ci: Use python instead of python3 in script
...
We only have python.exe on Windows, and after the setup-python action, "python"
hopefully is the correct Python 3 executable.
2020-07-03 18:55:46 +02:00
Florian Bruhin
1d398e9d8e
scripts: Clean up REPO_ROOT in asciidoc2html
...
- Use .resolve() and parents[1] for REPO_ROOT
- Use the existing REPO_ROOT for sys.path.insert
- Fix a syntax error
2020-07-03 11:09:38 +02:00