Commit Graph

366 Commits

Author SHA1 Message Date
Florian Bruhin bcbfc2b68c ci: Add IRC notification for main channel
Releases are probably important enough
2023-08-17 12:42:21 +02:00
Florian Bruhin 67ae39561a ci: Use -x for cherry picks 2023-08-17 12:42:21 +02:00
Florian Bruhin fa74860417 ci: Use earlier release ID 2023-08-17 12:42:21 +02:00
Florian Bruhin c10cda7d4a ci: Use github script to update release
See https://github.com/softprops/action-gh-release/issues/163
2023-08-17 12:42:21 +02:00
Florian Bruhin a59bf7bc5b ci: Set twine PyPI token 2023-08-17 12:39:00 +02:00
Florian Bruhin ab820fe8a0 ci: Set up asciidoc properly for releases 2023-08-17 12:39:00 +02:00
Florian Bruhin 13ddb50170 ci: More automatic release improvements/fixes 2023-08-17 12:36:25 +02:00
Florian Bruhin 9757fa79ee ci: Use GitHub Script to get release branch
By default, we only get a narrow checkout, so we don't know about any
other branches. Use the GitHub API and some JS to get the release branch
instead.
2023-08-17 12:36:25 +02:00
Florian Bruhin 950d06ad5b ci: Initial automatic release support
See #3725
2023-08-17 12:35:53 +02:00
Florian Bruhin a196344742 ci: Use proper image for Qt 6 bleeding tests 2023-08-15 19:31:36 +02:00
Florian Bruhin 8221fd7878 wip: Add Qt 6 bleeding tests to CI 2023-08-15 18:57:17 +02:00
Florian Bruhin 9a90a3950f wip: Add Qt 6 bleeding tests to CI 2023-08-15 18:30:00 +02:00
Florian Bruhin 3b1c3856a9
Merge pull request #7797 from pylbrecht/build-on-ci
Run package building on CI with warnings turned into errors
2023-08-10 12:14:23 +02:00
Philipp Albrecht 7d445e6617 Add CI job for package build
We want to run a package build in CI with warnings turned into exceptions, in order to
catch issues in CI (e.g. DeprecationWarning).
2023-08-09 12:46:58 +02:00
Florian Bruhin c2210539a9 Drop 32bit Windows release support
See #6050, still keeping open to track NSIS changes
2023-07-27 21:05:26 +02:00
Florian Bruhin 6478496ca3 Revert "Revert "Revert "ci: Remove Python 3.12 for now"""
This reverts commit 70e8dc63e8.

We're on PyQt 6.5.2 now, which should fix the segfaults on exit.
2023-07-24 20:12:52 +02:00
toofar 7724f72950 libxcb-cursor0 in dependencies job and install docs
I don't think the dependencies jbos needs to be installing asciidoc anymore either but oh
well.

I just grepped for libxcb-shape0 and constituently added libxcb-cursor0
after it. I haven't checked it's in stretch but it should be.

ref: 6f5de192e0
2023-07-24 23:04:51 +12:00
Florian Bruhin ec34865168 Move master branch references to main
Closes #7097
2023-07-23 11:38:19 +02:00
Florian Bruhin 8f34a2c9c6 ci: Fix issues 2023-06-30 19:29:28 +02:00
Florian Bruhin b5d5c7f4d3 More qt 6 tooling 2023-06-30 19:29:28 +02:00
Florian Bruhin ffc06e58d6 qt6: Switch most tooling/linting to Qt 6
Only mypy missing now...
2023-06-30 19:29:28 +02:00
Florian Bruhin 50a1f004f0 qt6 mypy: Enable on CI 2023-06-29 23:16:35 +02:00
Florian Bruhin 93c7fdd60c Initial Python 3.7 drop 2023-06-26 14:39:54 +02:00
Florian Bruhin 408e16917e ci: Kill remaining qt6-v2 references 2023-06-24 01:05:25 +02:00
Florian Bruhin 70e8dc63e8 Revert "Revert "ci: Remove Python 3.12 for now""
This reverts commit ded43c57c8.

Still segfaults on exit...
2023-06-09 20:25:49 +02:00
Florian Bruhin ded43c57c8 Revert "ci: Remove Python 3.12 for now"
This reverts commit a5d6e41005.

See #7727
2023-06-09 20:06:56 +02:00
Florian Bruhin a5d6e41005 ci: Remove Python 3.12 for now
See #7727
2023-05-31 13:00:24 +02:00
Florian Bruhin 06c5de554b ci: Decrease time limit again
Was due to https://github.com/pytest-dev/pytest/issues/10896
2023-04-14 21:04:12 +02:00
Florian Bruhin 6e018fe2ab ci: Test a bigger sample of Python versions
- Make sure we still test Python 3.7 and 3.8 after dropping old PyQt
  versions in c5a51eb0bc
- Keep a modern Python version (3.11) with Qt 5 around, however
- Make sure we still test Python 3.10 too
- Also start testing the Python 3.12 alpha
2023-04-11 15:21:40 +02:00
Florian Bruhin 6f5de192e0 ci: Install libxcb-cursor
See https://codereview.qt-project.org/c/qt/qtbase/+/325414
2023-04-11 14:53:17 +02:00
Florian Bruhin 986348acb9 Revert "ci: Disable broken Qt 6.5"
This reverts commit 681f7ffc57.
2023-04-11 14:53:02 +02:00
Florian Bruhin 681f7ffc57 ci: Disable broken Qt 6.5
See #7624
2023-04-11 13:55:06 +02:00
Florian Bruhin 950d55002e ci: Raise time limit even more
Apparently Windows CI is real slow on GitHub currently...
2023-04-10 23:28:22 +02:00
Florian Bruhin 30e70803d0 ci: Add PyQt 6.5
See #7624
2023-04-10 23:25:15 +02:00
Florian Bruhin 39b6a1e946 ci: Properly raise time limits
CodeQL only needs about 7 minutes, but Windows needs >45
2023-04-10 22:20:19 +02:00
Florian Bruhin 764dbfd008
Merge pull request #7660 from qutebrowser/dependabot/github_actions/peter-evans/create-pull-request-5
build(deps): bump peter-evans/create-pull-request from 4 to 5
2023-04-10 21:09:18 +02:00
Florian Bruhin 055224cb8d ci: Bump tests timeout once again
Looks like 45mins is too tight for GHA on Windows with heavy load...
2023-04-10 21:05:53 +02:00
dependabot[bot] 106a71f314
build(deps): bump peter-evans/create-pull-request from 4 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
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>
2023-04-10 19:01:49 +00:00
toofar 2d6d602f29 ci: update cov test run but keep it disabled
Error: qutebrowser/browser/webengine/certificateerror.py has 90.91% line and 50.00% branch coverage!
    Error: qutebrowser/browser/webengine/darkmode.py has 96.88% line and 100.00% branch coverage!
    Error: qutebrowser/keyinput/basekeyparser.py has 97.59% line and 100.00% branch coverage!
    Error: qutebrowser/keyinput/keyutils.py has 92.64% line and 96.30% branch coverage!
    Error: qutebrowser/utils/debug.py has 94.51% line and 92.19% branch coverage!
    Error: qutebrowser/utils/qtutils.py has 98.67% line and 96.74% branch coverage!
    Error: qutebrowser/utils/usertypes.py has 99.20% line and 96.30% branch coverage!
    Error: qutebrowser/utils/version.py has 97.66% line and 97.83% branch coverage!

Maybe we should open an issue to get them back up.
2023-03-18 17:30:26 +13:00
toofar f68798a081 ci: attempt to make the qt6 docker run work
On CI were were getting "Could not import sip" because link_pyqt was
looking for PyQt5.sip.
I made that look at QUTE_QT_WRAPPER since that's being set already on
tox.ini
There are probably a few other changes around link_pyqt and the makefile
etc we need to change when we switch the default wrapper.

I overrode the default `py` tox environment with py-qt6 to override
those wrapper related variables. I probably could have done something
sneaky with curly braces to make it so we don't have to add a few more
lines to the file. But in my opinion in config file is far to obfuscated
and hard to maintain already.

I changed the docker file to call the new py-qt6 env if it's a qt6
container. I'm not 100% sure that is required though since there is also
a tox invocation in the GH action definition, maybe that overrides the
container entrypoint? Also changed the indentation in the dockerfile
template a bit to make it easier to see where the conditionals start and
end.

Speaking of which I changed the matrix definition and tox invocation to
match a later one to hopefully make it so we can invoke different tox
environments in the containers without having to rebuild the containers.
Not sure I did that right, I'll see soon.

I added the unstable-qt6 container generation line so we can use it in
the future, and to match the not-qt6 one. I'm not switching to that in
CI though because the pyqt used by that is broken at the moment
(ref https://www.riverbankcomputing.com/pipermail/pyqt/2023-March/045214.html)

Also fixed the vim modeline in generate.py so my syntax highlighting
works.
2023-03-18 17:29:25 +13:00
toofar 2b67070d16 ci: enable pyqt6.4 and py3.11 test matrix entries
6.4 tests should be passing now. 6.5 is still waiting on PyQt on PyPI
getting fixed. That goes for kde-unstable-qt6 too as that's pulling down
6.5.

We should take the opportunity to revisit the test matrix configuration
again when we add 6.5 in there. For example py3.11 on ubuntu 20.04 is a
bit odd as it only got released last year.
2023-03-18 16:37:02 +13:00
Florian Bruhin 4793070db3 Merge branch 'qt6-v2' into master-qt6 2023-03-17 20:30:13 +01:00
Florian Bruhin 9fdd737966 ci: Fix syntax 2023-03-14 12:10:45 +01:00
Florian Bruhin 72692f1580 ci: Switch branches for qt 6 image
Follow-up to 9d9a7b3b84 hopefully fixing CI on master
2023-03-14 12:08:37 +01:00
toofar 9d9a7b3b84 CI: generate archlinux-webengine-qt6 docker image
I'm not 100% sure we need this. But there is an existing test matrix
that I want to active for now. We can review all the configuration later
I guess?
2023-03-14 11:20:54 +13:00
toofar 09761e2556 CI: generate archlinux-webengine-qt6 docker image
I'm not 100% sure we need this. But there is an existing test matrix
that I want to active for now. We can review all the configuration later
I guess?
2023-03-14 11:07:31 +13:00
dependabot[bot] 370b191615
build(deps): bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 18:09:26 +00:00
Florian Bruhin ab258e7aab ci: Bump timeouts to 45m
Looks like 30m is a bit tight when GHA is exceptionally busy
2023-01-19 09:51:51 +01:00
Florian Bruhin f77ccd022b Fix gathering info for nightly builds on Windows
Not quite sure why this worked with 0ff0eaa703 honestly...
2022-12-27 12:40:08 +01:00
Florian Bruhin 9bf258c8f8 doc: Improve security reporting guidelines
See #7524
2022-12-13 14:24:32 +01:00
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