Commit Graph

199 Commits

Author SHA1 Message Date
Florian Bruhin 13fc4604ba ci: Run apt-get update 2020-07-16 14:40:02 +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 42eebc0776 ci: Simplify IRC notification text 2020-07-13 22:28:13 +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
Ash 9d22536b99 Fix running on windows. 2020-07-08 19:08:34 -07:00
Ash 2f6a48c74b Run tests inside dbus-run-session.
We need a dbus server, and this is the easiest way to make sure we have
one.
2020-07-08 19:02:05 -07:00
Florian Bruhin 2130af688a ci: Use PY_COLORS to force colored output
This should also color tox output, and it doesn't conflict with PYTEST_ADDOPTS
being used for coverage options.
2020-07-08 17:20:43 +02:00
Florian Bruhin 17b3eb7704 ci: Only run IRC notification in main repository
Not in people's custom forks
2020-07-08 15:43:06 +02:00
Florian Bruhin e579708549 ci: Fix IRC colors 2020-07-06 20:17:04 +02:00
Florian Bruhin 977ec3eebb ci: Remove IRC colors again
Really doesn't work, and I should play around with this in a branch rather than
master (sorry!).
2020-07-06 16:27:01 +02:00
Florian Bruhin f3234f3f2f ci: Try colored IRC text again 2020-07-06 15:48:58 +02:00
Florian Bruhin ffb34c3034 ci: Upgrade shellcheck version
Gets the latest shellcheck binary release.
Closes #5567
2020-07-06 15:44:48 +02:00
Florian Bruhin 53203a8ed6 ci: Remove unneeded IRC output line 2020-07-06 14:56:03 +02:00
Florian Bruhin 00b8d03fa3
Merge pull request #5572 from qutebrowser/dependabot/github_actions/codecov/codecov-action-v1.0.10
build(deps): Bump codecov/codecov-action from v1 to v1.0.10
2020-07-06 14:21:41 +02:00
dependabot[bot] 4e3a405ab8
build(deps): Bump actions/setup-node from v1 to v2.1.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...1ae8f4b1fd89676f69b55d3dd6932b6df089ff7b)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 11:57:18 +00:00
dependabot[bot] 69c94950c9
build(deps): Bump codecov/codecov-action from v1 to v1.0.10
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1 to v1.0.10.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...f3570723ef743f6942b6a480461ed0cd6c0f9baa)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 11:57:17 +00:00
Florian Bruhin 70806b303c ci: Remove colors from IRC output
Doesn't seem to work like this...
2020-07-06 13:54:53 +02:00
Florian Bruhin 09b588f672 ci: Try better IRC notification 2020-07-06 13:15:45 +02:00
Florian Bruhin b1fb55ea67 ci: Remove experimental Qt 5.7 job
It really seems to fail every time, and GitHub's UI still prominently shows the
failure.
2020-07-03 19:14:39 +02:00
Florian Bruhin 189a54d4d6 ci: Fix running problemmatcher script on Windows 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 2511c3cea4 ci: Write problem matchers for Python/pytest exceptions 2020-07-03 18:56:54 +02:00
Florian Bruhin ae188463d4 ci: Don't fail on coverage upload
Seems to fail randomly...
2020-07-03 18:56:54 +02:00
Florian Bruhin 8c009998f9 ci: Try to add IRC notification 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 fdfb29c992 CI: Improve apt installation 2020-07-03 18:56:54 +02:00
Florian Bruhin bd4a9030aa ci: Analyze backtraces on GitHub Actions 2020-07-03 18:55:46 +02:00
Florian Bruhin 8779a941c3 ci: Move PyQt 3.7 test to Travis
For some reason, we get segfaults on exit on GitHub Actions (and also locally),
but not on Travis...
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 fcd58000ca ci: Don't run two Qt 5.7 environments 2020-07-03 18:55:46 +02:00
Florian Bruhin 6b77e1af99 ci: Add Windows/macOS 2020-07-03 18:55:46 +02:00
Florian Bruhin a8d12c8826 ci: Add CodeQL to ci.yml 2020-07-03 18:55:46 +02:00
Florian Bruhin 517858ddd8 ci: Set up caching 2020-07-03 18:55:46 +02:00
Florian Bruhin 86ef7641bc ci: Try PyQt 5.7 again 2020-07-03 15:04:31 +02:00
Florian Bruhin 7f1ced0e43 ci: Set up nightly Python 2020-07-03 15:04:31 +02:00
Florian Bruhin 820c3e30d6 ci: Upload coverage via GitHub Actions
See #4976
2020-07-03 15:04:31 +02:00
Florian Bruhin 65a610c3bf tests: Widen disable-bpf-sandbox argument
This should fix tests with newer kernels/glibc's with Qt versions before
5.14.1.
2020-07-03 11:43:19 +02:00
Florian Bruhin 49a19a50cb ci: Move Qt 5.13 back to Travis
We get another seccomp-bpf failure there
2020-07-02 22:42:30 +02:00
Florian Bruhin da4221f99e ci: Finish partial move to GitHub actions 2020-07-02 22:21:24 +02:00
Florian Bruhin 64d282e73b ci: Force colors 2020-07-02 22:21:24 +02:00
Florian Bruhin a42892d203 ci: Install more apt packages 2020-07-02 22:21:07 +02:00
Florian Bruhin f93c1d73ce ci: Reorder matrix values
Gets us better names on GitHub Actions
2020-07-02 22:21:07 +02:00
Florian Bruhin 7ec1d08a10 ci: Add Linux/tox tests to GitHub Actions 2020-07-02 22:21:07 +02:00
Florian Bruhin 8d1a8540c5 ci: Force pytest colors for CI
For some reason, pytest on GitHub doesn't display any colors.
2020-07-02 22:21:07 +02:00
Florian Bruhin 33b5db97e7 ci: Add --tty for docker
Enables colored output
2020-07-02 22:21:07 +02:00
Florian Bruhin 57b3b7bd5b ci: Disable linters 2020-07-02 22:21:07 +02:00
Florian Bruhin 1abba06dc6 ci: Try adding tests-docker 2020-07-02 22:21:07 +02:00
Florian Bruhin 07a30c0092 ci: Set up problem matchers 2020-07-02 22:21:07 +02:00
Florian Bruhin 68b245aa6f Add initial GitHub Actions config for linters 2020-07-02 14:45:02 +02:00