Commit Graph

366 Commits

Author SHA1 Message Date
Florian Bruhin b4d32e04f4 Merge branch 'master' into qt6-v2 2022-12-13 09:05:32 +01:00
Florian Bruhin 65440f3f1e ci: I shouldn't push changes before my first coffee 2022-12-13 08:49:06 +01:00
Florian Bruhin 549aec3100 ci: Adjust for asciidoc changes 2022-12-13 08:38:23 +01:00
Florian Bruhin 21ac559a65 More adjustments for tox 4 subtleties 2022-12-12 13:42:32 +01:00
Florian Bruhin c43bc3b445 ci: Deactivate Qt 6.4 for now
Still some stuff broken sadly, see #7314
2022-11-29 09:30:47 +01:00
Florian Bruhin a497ce69be tox/ci: Add PyQt 6.4 2022-11-24 09:26:30 +01:00
toofar 2d66466194 Merge branch 'master' into qt6-v2
Just a few conflicts around CI and dependencies.
2022-11-20 15:48:00 +13:00
Florian Bruhin 0cd682afbd Revert "ci: Drop QtWebKit"
This reverts commit 00ee3fad34.
2022-11-16 09:10:42 +01:00
Florian Bruhin 00ee3fad34 ci: Drop QtWebKit
See #7478, #4039
2022-11-14 21:24:03 +01:00
dependabot[bot] e8179d455f
build(deps): bump peter-evans/create-pull-request from 3 to 4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 18:13:23 +00:00
Florian Bruhin 7e7eaaee7c Retry dependabot for GitHub Actions
See 78709ce2b9
and fa5e04fdaf

Hoping this will work better nowadays?

Tenatively closes #7299
2022-11-04 19:12:54 +01:00
Florian Bruhin 0ff0eaa703 ci: Get rid of set-output
Fixes #7439
2022-11-03 11:53:28 +01:00
toofar f0bfc9aab2 Document how to set the backend for the tests.
I only had the old way save in my bash history and this one was only
mentioned in the changelog.

Also changed the heading above the new entry to be title case, which
seems to be more consistent with the other headinfs in the file.

Also remove the one remaining mention of `QUTE_BDD_WEBENGINE` since it
does nothing anymore.
2022-09-16 17:13:52 +12:00
toofar 4b3ec40eb0 mypy: re-enable CI jobs for pyqt5
We'll be going forward with type checking on PyQt5 for now while
figuring out what to do with PyQt6 type checking.

See https://github.com/qutebrowser/qutebrowser/discussions/7372#discussioncomment-3502200
2022-09-11 17:31:52 +12:00
toofar c1738ca550 tox: split mypy env into mypy-{qt5,qt6}
Would be nice to have a bare `mypy` env which ran both the more specific ones
in sequence but I don't know how to do that.

Not sure if there is a way to pull the CONSTANTS_ARGS stuff out to a non-env
parameter and pass it into commands but I couldn't figure out a way. So via
the environment it is.

TODO: compare PyQt6 as-is with the WIP PyQt6-Stub
2022-09-11 10:19:44 +12:00
Florian Bruhin 769ef6859f Adjust some fixme comments 2022-08-23 18:31:42 +02:00
Florian Bruhin 0cf7453fc3 ci: Prepare Qt 6 dockerfiles 2022-08-23 18:31:41 +02:00
Florian Bruhin 18a7a5fc74 WIP: CI: Disable failing checks
To catch regressions... TODO: fix and reenable
2022-08-23 18:31:41 +02:00
Florian Bruhin c5a51eb0bc Drop Qt < 5.15
Fixes #7091

TODO: Add changelog
2022-08-23 18:31:41 +02:00
Florian Bruhin 0428ede31e Add test environments for Qt 6.2 and 6.3 2022-08-23 18:31:40 +02:00
Florian Bruhin c9613e09e5 ci: Drop Ubuntu 18.04, add 22.04
See https://github.com/actions/runner-images/issues/6002
2022-08-16 18:59:27 +02:00
Florian Bruhin 2b2682f14c ci: Update to macOS 11, add 12
See https://github.com/actions/runner-images/issues/5583
2022-08-16 18:59:27 +02:00
Florian Bruhin 8f3011e261 Revert "Revert "ci: Re-add Python 3.11""
This reverts commit 70fa33f52d.
2022-07-13 12:45:03 +02:00
Florian Bruhin 70fa33f52d Revert "ci: Re-add Python 3.11"
This reverts commit d1e653115b.
2022-07-12 23:08:52 +02:00
Florian Bruhin d1e653115b ci: Re-add Python 3.11
Fixes #7143
2022-07-12 17:29:57 +02:00
Florian Bruhin d78e6759b7 ci: Get libxcb-shape0 in for normal runs too
Those seem to fail in weird ways as well...
2022-07-12 16:19:34 +02:00
Florian Bruhin 8c29f22b93 ci: Add missing libxcb-shape0
Not sure why this is needed out of the sudden...
2022-07-12 16:03:03 +02:00
Florian Bruhin aaeed45480 ci: Remove TERM=ansi again
Doesn't seem to actually work.
2022-07-11 10:37:50 +02:00
Florian Bruhin df9abc5c23 ci: More colored output 2022-07-11 10:36:23 +02:00
Florian Bruhin 774f24933d ci: Fix wget 2022-07-11 10:27:51 +02:00
Florian Bruhin dc7dad5de8 ci: Add actionlint 2022-07-11 10:23:27 +02:00
Florian Bruhin 47ef35fb31 ci: Update dependendicies 2022-06-22 12:50:28 +02:00
Florian Bruhin a96aa25a60 ci: Adjust artifact names 2022-06-22 10:30:50 +02:00
Florian Bruhin 8bbf897107 ci: Try to improve nightly artifact upload 2022-06-22 10:11:03 +02:00
Florian Bruhin 7a5eac4165 ci: Actually build Qt 6 for Qt 6 builds 2022-06-22 09:42:05 +02:00
Florian Bruhin ff31bf8da2 ci: Add qt6-v2 to nightly builds 2022-06-21 20:48:26 +02:00
Florian Bruhin 3ac1c8a7a3 ci: Split bleeding CI and nightly builds into two 2022-06-21 20:45:20 +02:00
Florian Bruhin 20b0f16671 ci: Upgrade codeql-action
See https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-05-19 12:10:14 +02:00
Florian Bruhin 5a4ae369a5 ci: Comment out Python 3.11 entirely for now
Still reflected in commit status

See #7143
2022-04-28 12:15:50 +02:00
Florian Bruhin 6fc30a1e85 ci: Mark Python 3.11 as experimental
end2end tests seem flaky, no clue why
2022-04-26 17:14:38 +02:00
Florian Bruhin de0aa69b9a ci: Update Python versions 2022-04-26 17:14:38 +02:00
Jimmy 060e4fbf80 Drop python3.6 support.
Commits for dropping 3.5 support to copy from:

c245b7d855ccd "Initial drop of Python 3.5"
ccdfb44b85 "Drop support for Python 3.6.0"

Anything needed to update regarding OS version support in
doc/install.asciidoc?
TODO: remove 3.6/7 annotations in requirements files and
  rebuild

workflows: not sure I updated it right (run 5.12 with 3.7, same 18.04 OS) but
18.04 seems to have 3.7 on it too so it should work. It'll all change when we
drop <5.15 anyway. Not sure what the minimum ubuntu version will be going
forward.

Regarding mimetype overrides (ebb3046822) the doctring says they can all go
in 3.7 but .h5 is still missing on py39, not sure if we should care.

There are a bunch of old(?) warning messages still ignored in tests/end2end/fixtures/quteprocess.py.
2022-04-04 12:08:19 +12:00
Florian Bruhin e494100582 ci: Switch to FORCE_COLOR
pytest understands that since a while: https://pytest.org/en/7.0.x/reference/reference.html#environment-variables and other tools are adopting it: https://github.com/sphinx-doc/sphinx/pull/10260
2022-03-30 09:57:53 +02:00
Florian Bruhin 2957c5ccb8 Switch to newer Python for linters
We originally used Python 3.8 for pylint for https://github.com/PyCQA/pylint/issues/3760 which is long fixed... See 214dd63441
2022-03-29 17:52:21 +02:00
Jimmy 4c745a298a ci: update package list before installing asciidoc
On the last two runs we've been getting errors install lxml2-utils (a
dependency of asciidoc) because the version in the packages list isn't
available anymore. A new point build has been pushed.

The base image will be updated eventually but [the docs][] say to run
apt update before installing. That is already done once in this file
too. Yay for longer build times.

Last two runs:

https://github.com/qutebrowser/qutebrowser/runs/5578546699?check_suite_focus=true
https://github.com/qutebrowser/qutebrowser/runs/5581525862?check_suite_focus=true

[the docs]: https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners
2022-03-17 20:53:34 +13:00
Florian Bruhin 5e475f4151 ci: Thanks YAML 2021-11-22 18:09:17 +01:00
Florian Bruhin cac9e3e049 ci: Use Python 3.10 for bleeding CI 2021-11-22 17:53:51 +01:00
arza 3653be86f2
Update CONTRIBUTING.asciidoc 2021-08-20 16:03:11 +03:00
Florian Bruhin f2e322c581 ci: Switch to #qutebrowser-bots 2021-05-27 09:28:31 +02:00
Florian Bruhin b366911d0a ci: Switch bots to Libera 2021-05-26 10:54:32 +02:00
Florian Bruhin 493d7470c4 ci: Try to avoid upload load
I suspect we get issues because 6 jobs try to upload at the same time
2021-05-14 14:34:56 +02:00
Florian Bruhin 62de76e878 Revert "ci: Pin Python 3.10 to Alpha 7"
This reverts commit 0c1414c6aa.
2021-04-30 10:48:07 +02:00
Florian Bruhin 4751890acb ci: Fix CodeQL 2021-04-29 00:06:36 +02:00
Florian Bruhin 8023b8c8fe ci: Lock down workflows
Closes #6430
2021-04-28 23:01:43 +02:00
Florian Bruhin 0c1414c6aa ci: Pin Python 3.10 to Alpha 7
See https://github.com/actions/setup-python/issues/207

pytest isn't ready yet:
https://github.com/pytest-dev/pytest/issues/8539
2021-04-19 11:43:37 +02:00
Florian Bruhin a0710124a1 ci: Tune down code scanning
Too many false positives, and it seems impossible to ignore a single rule.
2021-04-10 09:15:38 +02:00
Florian Bruhin f22ea9b81d ci: Try additional CodeQL queries 2021-04-09 10:03:47 +02:00
Florian Bruhin 545a295cf0 ci: Move test_mkvenv.py to update-dependencies
It requires some time and network access, so no need to run it as part of the automated tests.
2021-03-31 13:10:09 +02:00
Florian Bruhin bce20c2995 scripts: Add --debug to build_release.py 2021-03-29 23:42:14 +02:00
Florian Bruhin 2a545400f8 ci: Try debug builds 2021-03-29 23:42:14 +02:00
Florian Bruhin 78ce753b09 ci: Move macOS dmg to dist/ 2021-03-29 23:42:14 +02:00
Florian Bruhin 99f419c97d ci: Rename artifact 2021-03-29 23:42:14 +02:00
Florian Bruhin c6118aa4aa ci: Upload release files 2021-03-29 23:42:14 +02:00
Florian Bruhin 498ff53463 ci: Split 32/64bit pyinstaller envs 2021-03-29 23:42:14 +02:00
Florian Bruhin 8a0d7a5be8 scripts: Pass GitHub token via commandline args 2021-03-29 23:42:14 +02:00
Florian Bruhin e10214a726 ci: Fix asciidoc
Unfortunately, GitHub won't let us clone asciidoc to ../asciidoc :(
2021-03-29 23:42:14 +02:00
Florian Bruhin a93b1f00c9 ci: Try docs as well 2021-03-29 23:42:14 +02:00
Florian Bruhin 353b27df53 ci: Add PyInstaller env
Closes #6338
2021-03-29 23:42:09 +02:00
Florian Bruhin e017927173 ci: Run bleeding-edge CI daily for now 2021-03-29 18:44:17 +02:00
Florian Bruhin 18d6c46e3d notifications: Adjust/fix CI 2021-03-24 16:38:59 +01:00
Florian Bruhin 2f592f7ce6 Merge remote-tracking branch 'origin/pr/5457' into dev 2021-03-24 14:12:36 +01:00
Florian Bruhin 36696bfa2c ci: Add bleeding-edge environment
Closes #6298
2021-03-22 20:22:48 +01:00
Florian Bruhin 30d54c8da4 Revert "ci: Use different workaround for Archlinux docker"
This reverts commit 545e37b913.
Doesn't actually seem to work...
2021-02-18 10:15:43 +01:00
Florian Bruhin 545e37b913 ci: Use different workaround for Archlinux docker 2021-02-16 11:24:40 +01:00
Florian Bruhin 277eb3012e ci: Use v1 of irc-message-action again
https://github.com/Gottox/irc-message-action/issues/5 is fixed
2021-02-10 19:55:18 +01:00
Florian Bruhin 357887c25e ci: Fix docker IRC message 2021-02-10 19:53:39 +01:00
Florian Bruhin bc0936d97a ci: Use Python 3.9 for Windows/macOS
That's what we use with the newer PyInstaller releases, too.
2021-01-27 19:24:17 +01:00
Florian Bruhin ab01b3970f ci: Add Python 3.10
Needs a couple of follow-up commits for workarounds, which hopefully
aren't needed anymore at a later point.

Fixes #6068
2021-01-26 20:32:57 +01:00
Florian Bruhin 5c23ac8429 ci: Test Ubuntu 18.04
See #5551
2021-01-09 14:20:09 +01:00
Florian Bruhin c628e1430c ci: Remove macOS Big Sur for now
See https://github.com/actions/virtual-environments/issues/841
2021-01-08 10:07:05 +01:00
Florian Bruhin 47f2093b50 ci: Add qute-pylint to cache key
This makes sure we don't use a stale qute_pylint version in CI.
2021-01-02 15:59:05 +01:00
Florian Bruhin 77c5fb888f ci: Simplify CodeQL workflow 2020-12-07 19:09:22 +01:00
Florian Bruhin 83286f9456 ci: Don't run docker job in forks 2020-12-03 16:21:36 +01:00
Florian Bruhin 6274028872 ci: Also use Python in PATH in ci.yml
Follow-up to df7e0553d8
2020-12-03 11:10:16 +01:00
Florian Bruhin 64c1c03d5b ci: Add Qt 5.15.0
We test Qt 5.15.2, but that's based on a newer Chromium version:

Qt 5.14.x -> Chromium 77
Qt 5.15.0 -> Chromium 80
Qt 5.15.2 -> Chromium 83

Some behavior changes between Chromium versions (see e.g. #5915), so it
makes sense to test both.

Picking 5.15.0 rather than .1 due to renderer process crashes in
5.15.1 (#5721). Doesn't matter much on the CI as we don't use WebRTC,
but if someone wants to downgrade with mkvenv.py for some reason, .0
will be more useful than .1.
2020-12-03 10:15:14 +01:00
Florian Bruhin 6a9f3d6cf5 Revert "ci: Try semgrep"
This reverts commit 7c1f177572.
Worked on dev, now broken on master?
2020-11-26 22:05:57 +01:00
Florian Bruhin 7c1f177572 ci: Try semgrep 2020-11-25 22:41:15 +01:00
Florian Bruhin 31cd414664 ci: Fix lint for docker workflow 2020-11-25 22:34:18 +01:00
Florian Bruhin a686b75922 ci: Fix docker working directory 2020-11-25 22:34:18 +01:00
Florian Bruhin ec93c0458c Integrate docker rebuild workflow 2020-11-25 19:49:25 +01:00
Florian Bruhin feff463bf1 ci: Add macOS Big Sur
See #5663 and #5896 (which we don't test for at the moment)
2020-11-24 14:06:42 +01:00
Florian Bruhin f7b66a583e Revert "ci: Downgrade to Ubuntu 18.04 for CodeQL env"
This reverts commit 74ad8fd545.
2020-11-23 20:18:12 +01:00
Florian Bruhin c58788935f ci: Upgrade create-pull-request action to v3 2020-11-23 09:08:08 +01:00
Florian Bruhin 74ad8fd545 ci: Downgrade to Ubuntu 18.04 for CodeQL env
It emits a setup warning because of a missing Python 2 pip otherwise:
https://github.com/github/codeql-action/pull/316
2020-11-20 16:51:15 +01:00
Florian Bruhin bf6cda5a9c ci: Be explicit about Ubuntu version
There currently are warnings about ubuntu-latest soon being 20.04 rather
than 18.04. For those environments, we don't actually care about the
underlying OS (linters/codeql/irc should work no matter what), but it's
still good to be explicit about the OS choice. This avoids the warnings
and makes things more predictable. Also, updating it once every 2
years (for Ubuntu LTS releases) shouldn't be a big issue.
2020-11-20 11:48:00 +01:00
Florian Bruhin cc8de06082 ci: Update Python/Qt versions 2020-11-04 18:30:04 +01:00
Florian Bruhin cc2d73b061 old qt: Drop CI 2020-11-04 11:30:54 +01:00
Florian Bruhin 5ad2491cf5 ci: Drop -dev suffix for Python 3.9 2020-10-28 14:25:36 +01:00
Florian Bruhin 685a66280a Initial drop of Python 3.5
See #4800
2020-10-26 15:50:54 +01:00
Florian Bruhin fa5e04fdaf Remove dependabot for GitHub Actions
- It only seems to catch some dependencies, not all
- Its PRs (without batching) are kind of noisy
- Despite the GitHub docs saying otherwise, it seems to open PRs for
  forks...
- GitHub Actions seem to use semantic versioning pretty much
  consistently, so this should hopefully work out without explicit
  pinning.
2020-10-15 14:04:56 +02:00
Florian Bruhin 61bf76c29e ci: Avoid deprecated ::add-path
See https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w
2020-10-05 21:05:37 +02:00
dependabot[bot] 76eae19706
Bump actions/setup-python from v2.1.2 to v2.1.3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.2...c181ffa198a1248f902bc2f7965d2f9a36c2d7f6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 07:43:57 +00:00
dependabot[bot] 03fb66f0e1
Bump actions/setup-node from v2.1.1 to v2.1.2
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.1...c6fd00ceb9747fb23ffdf72987450a2664414867)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 05:38:06 +00:00
Florian Bruhin ca2cc01e14 ci: Pin irc-message-action to v1.1
See https://github.com/Gottox/irc-message-action/issues/5
2020-09-25 20:01:00 +02:00
dependabot[bot] 0efd3f81bc
Bump codecov/codecov-action from v1.0.12 to v1.0.13
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.12 to v1.0.13.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.12...6004246f47ab62d32be025ce173b241cd84ac58e)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-18 05:19:23 +00:00
dependabot[bot] a1d122741f
Bump actions/setup-python from v2.1.1 to v2.1.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.1...24156c231c5e9d581bde27d0cdbb72715060ea51)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-12 05:28:39 +00:00
Florian Bruhin defd18d963 Use Python 3.9 on CI 2020-08-11 13:18:35 +02:00
Florian Bruhin 41bcada133 Merge branch 'master' into pr/5457 2020-07-31 14:35:59 +02:00
Florian Bruhin e521964ab6 ci: Remove unneeded line for IRC notifications 2020-07-30 22:26:50 +02:00
Florian Bruhin 5e394cb53f ci: Improve IRC notifications
Should probably move this in a separate action at some point and do this in
code instead :D

[ci skip]
2020-07-30 22:06:59 +02:00
Florian Bruhin 02f1105f3d ci: Avoid double builds 2020-07-28 23:22:49 +02:00
Florian Bruhin ecfb8b5607 ci: Add skipping 2020-07-27 10:18:57 +02:00
Florian Bruhin 06dc39e7a8 Merge remote-tracking branch 'origin/pr/5616' 2020-07-23 11:27:41 +02:00
Florian Bruhin 1daa863218 Add yamllint 2020-07-23 11:21:04 +02:00
dependabot[bot] a9e14c99d8
build(deps): Bump codecov/codecov-action from v1.0.11 to v1.0.12
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.11 to v1.0.12.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.11...07127fde53bc3ccd346d47ab2f14c390161ad108)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-23 06:01:48 +00:00
dependabot[bot] e49fb97a74
build(deps): Bump actions/setup-node from v2.1.0 to v2.1.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.0 to v2.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.0...321b6ccb03083caa2ad22b27dc4b45335212e824)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-22 06:06:43 +00:00
dependabot[bot] 017ab173cd
build(deps): Bump actions/setup-python from v2 to v2.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2 to v2.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...0c28554988f6ccf1a4e2818e703679796e41a214)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-21 06:00:37 +00:00
Florian Bruhin 4bd883905f ci: Bump up timeouts for linters
For some reason, the cache can be pretty slow?
2020-07-20 11:09:22 +02:00
Florian Bruhin 43f1885c7e Add basic PR template 2020-07-20 10:43:11 +02:00
Florian Bruhin 0ebed403e3 ci: Fix/improve update requirements workflow
- Set up Python 3.7 and 3.8
- Add workflow dispatch event to trigger the update
- Add IRC notification
2020-07-20 09:28:42 +02:00
dependabot[bot] 7a7c764d39
build(deps): Bump codecov/codecov-action from v1.0.10 to v1.0.11
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.10 to v1.0.11.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.10...6d208f5b527841fb050f92f778e86cb808dacdcb)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 06:01:40 +00:00
Florian Bruhin c51e8b22d2 ci: Only update dependencies in main repo 2020-07-17 15:32:22 +02:00
Florian Bruhin fa9353538b ci: Add timeouts for jobs 2020-07-17 10:06:22 +02:00
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
Florian Bruhin 033baad2f2 ci: Fix committer typo 2020-07-13 08:01:25 +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 78709ce2b9 ci: Set up dependabot for GitHub Actions
We don't use it for Python (because, among other reasons, it can't bundle PRs).
There, we use recompile_requirements.py instead.
2020-07-06 13:56:45 +02: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
Florian Bruhin 326932d01a ci: Update time for recompile-requirements workflow 2020-06-30 18:57:37 +02:00
Florian Bruhin 1425ed75f6 ci: Update scheduled time for testing 2020-06-30 18:39:45 +02:00
Florian Bruhin a322dabc71 ci: Update scheduled time for testing 2020-06-30 18:35:46 +02:00
Florian Bruhin a643946443 ci: Update time for recompile-requirements action 2020-06-30 18:20:26 +02:00
Florian Bruhin 1d43f57fed scripts: Improve output in recompile_requirements 2020-06-30 17:59:37 +02:00
Florian Bruhin 70e4b4bc7b scripts: Improve output while recompiling requirements 2020-06-30 17:59:37 +02:00
Florian Bruhin 3e7a72f209 scripts: Update output when recompiling requirements 2020-06-30 17:59:37 +02:00
Florian Bruhin dae0a8002f scripts: Add changed requirement files 2020-06-30 17:59:37 +02:00
Florian Bruhin 14823c5d7d ci: Improve requirements updates action 2020-06-30 17:59:37 +02:00
Florian Bruhin 9abc688121 ci: Add action for updating requirements 2020-06-30 17:59:37 +02:00
Florian Bruhin b300a5464f Point to GitHub discussions feature 2020-06-17 09:34:12 +02:00
Florian Bruhin 7cbc447c55 Code scanning: Exclude C++ 2020-06-15 20:27:44 +02:00
Florian Bruhin e39b2335d6
Create codeql-analysis.yml 2020-06-15 20:24:13 +02:00
Florian Bruhin e46ae39ebe Add .github/SECURITY.md
[ci skip]
2020-05-07 18:04:15 +02:00
Florian Bruhin df45e7401e Update issue template 2020-02-22 10:27:28 +01:00
Florian Bruhin 28cefda9f8
Create FUNDING.yml 2019-10-30 15:00:08 +01:00
Florian Bruhin b56abc93b1 Move sponsor images to doc/img/sponsors/
If they're in .github, they don't get displayed on qutebrowser.org.
2019-10-22 13:31:39 +02:00
Florian Bruhin 05f70fc16d Adjust support issue template 2019-05-16 09:17:58 +02:00
Florian Bruhin e390d5a1a2 Adjust contribution notices 2019-03-19 08:26:52 +01:00
Florian Bruhin 78be927e3e issue template: Remove "(if applicable)"
Many people apparently read that as "I don't have to try".
2019-03-08 12:27:19 +01:00
Florian Bruhin a2ba0b4c76 Thanks to the HSR! 2018-11-22 09:36:13 +01:00
Florian Bruhin e356a7b034 Fix folder name 2018-10-07 18:30:21 +02:00
Florian Bruhin dd47e36444 Add PR notices 2018-10-07 18:22:09 +02:00
Florian Bruhin f852f9a014 Link to full contribution guides
includes don't work on GitHub anyways...
2018-10-07 18:21:53 +02:00
Florian Bruhin a6a605993e Add more issue templates 2018-10-07 18:14:22 +02:00
Florian Bruhin 26eb7056e3 Add MacStadium to README 2018-10-07 18:03:13 +02:00