Commit Graph

53 Commits

Author SHA1 Message Date
Philipp Wolfer
a769561dd8 CI: Install gettext for Windows
Before that the gettext command shipping with git for Windows were used.
Since git 2.44.0 these are no longer bundled.
2024-02-29 15:49:15 +01:00
Philipp Wolfer
e381279086 Drop support for Python 3.8
By the time Picard 3 will be released official support for Python 3.8
will be already or nearly at its end.
2024-02-12 12:15:27 +01:00
dependabot[bot]
b705ba1a04 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 18:36:32 +00:00
Philipp Wolfer
ba0d6acc1e Use Python 3.12 for non-version critical build steps 2023-10-31 09:28:59 +01:00
Philipp Wolfer
89d53c599b Minimum supported Python version is now 3.8 2023-10-31 09:28:59 +01:00
Philipp Wolfer
3845de8a64 Merge pull request #2154 from phw/PICARD-2331-pyqt6
PICARD-2331: Port to PyQt6
2023-10-30 07:40:04 +01:00
dependabot[bot]
e336bbe9cd Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 15:49:25 +02:00
Philipp Wolfer
c63a4c15ab PICARD-2331: CI: Install libegl1 to fix running tests
Required by PyQt6
2023-10-13 07:13:28 +02:00
Philipp Wolfer
7d55ae5e5d PICARD-2331: Upgrade to PyQt6 2023-10-13 07:10:06 +02:00
Philipp Wolfer
1912420bb9 Run CI tests with Python 3.12.0-rc.1 2023-09-09 12:49:20 +02:00
Philipp Wolfer
9009771776 Restrict default permissions of Github Actions 2023-09-08 07:34:02 +02:00
Philipp Wolfer
866ef71dce Skip locale test if locales are not built, build locales in CI tests 2023-06-09 09:19:07 +02:00
Philipp Wolfer
051d26facc CI: Use actions/setup-python@v4 2023-01-06 08:08:20 +01:00
Philipp Wolfer
e46419fb43 Upgrade to isort 5 (#2164)
* Upgrade to isort 5

isort 5 now can also handle imports not at top, hence some new locations now get sorted automatically.

* Move isort config from .isort.cfg to pyproject.toml

* isort: remove exclusion of some source files

isort now only ignores auto-generated files. The other files had been excluded because old isort could not handle imports not placed on the top.

* isort: use skip_glob to ignore resources.py

This should fix issues with the `skip` parameter on Windows.
2022-10-29 15:44:12 +02:00
Philipp Wolfer
b633a458a9 Upgrade setuptools for CI tests and packaging 2022-10-27 21:27:08 +02:00
Philipp Wolfer
cf4bbe6012 CI: Build and test with Python 3.11 2022-10-27 08:43:29 +02:00
Philipp Wolfer
4aff0310ca PICARD-2331: Python 3.7 is now the minimum supported version
PyQt6 is not available for older Python versions
2022-10-10 12:08:10 +02:00
Philipp Wolfer
66c9ced2a9 Github has deprecated the macOS-10.15 image, use macos-11 instead 2022-07-22 09:39:31 +02:00
Kamil
f3d3b2647d unified timeouts 2022-06-29 14:19:17 +00:00
Kamil
965f675243 added timeout to *verify sdist package*
Should have a bit more time preallocated than just run-tests but it also can get stuck (runs tests too), so timeout 40min should be okay.
2022-06-28 23:30:19 +00:00
Kamil
9c0e373314 timeout added to pytest (#2122)
timeout added to pytest
2022-06-26 14:14:35 +02:00
Frazer Smith
401102d2ef Update GitHub Actions 2022-06-18 22:58:43 +02:00
Philipp Wolfer
5ef1a4825e Re-enable macOS tests with Python 3.10 2022-06-08 23:56:31 +02:00
Philipp Wolfer
d34df0049c CI: Run tests on windows-2019 explicitly
Ensures that Python 3.6 is available
2022-02-11 14:59:08 +01:00
Philipp Wolfer
486d0fd2dc The minimum supported Qt5 version is now 5.11 2022-01-14 18:28:01 +01:00
Philipp Wolfer
9c382562ab Exclude Python 3.10 tests on macOS
pyobjc is not yet compatible with Python 3.10 and hence this is unsupported.
2021-11-07 11:27:33 +01:00
Philipp Wolfer
bbafe6090e Run tests on Python 3.10 2021-11-07 10:08:14 +01:00
Philipp Wolfer
fcdb479b14 CI: Python 3.6 is not available on macOS 11 runner
Run 3.6 tests on macOS 10.15
2021-10-14 10:26:22 +02:00
Philipp Wolfer
bba20a28ab Allow disabling graphical crash handler with --no-crash-dialog
This is mainly for running Picard in CI environments and debugging
2021-05-17 17:54:21 +02:00
Philipp Wolfer
cf8325faff Python 3.6 is now the minimum supported version 2021-03-16 16:41:50 +01:00
Philipp Wolfer
854a36407d PICARD-2088: Raise PyQt5 dependency to >= 5.10 2021-02-15 15:12:25 +01:00
Philipp Wolfer
5bee7281d0 Fix CI tests for python-libdiscid
python-libdiscid 2.0 no longer supports Python 3.5, skip the test with this version
2021-02-11 16:48:23 +01:00
Philipp Wolfer
02e0a505e4 Run CI tests on Python 3.9 also 2020-10-29 09:12:38 +01:00
Philipp Wolfer
6816fd8b94 GHA: Migrate to using enviroment files
set-env and add-path are deprecated, see https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-07 10:53:31 +02:00
Philipp Wolfer
a52f97b133 PICARD-1935: Include tests in sdist
Verify in CI the sdist package is complete and passes tests.
2020-09-04 13:38:27 +02:00
Philipp Wolfer
ab679c0d60 Fix tests 2020-07-05 19:14:16 +02:00
Philipp Wolfer
2e10534caf Use isort<5 2020-07-05 19:03:13 +02:00
Philipp Wolfer
d7bfbe9ad6 ci: Additionally test against PyQt 5.14.2 2020-06-18 10:30:30 +02:00
Philipp Wolfer
fe3d27c699 PICARD-1807: Run CI tests with both python-discid and python-libdiscid 2020-05-13 19:12:16 +02:00
Philipp Wolfer
909ea667b8 Check code style of tests with flake8 2020-05-13 11:03:13 +02:00
Philipp Wolfer
4138db5430 ci: fixed macOS builds not finding msgfmt 2020-04-30 15:12:55 +02:00
Laurent Monin
9dfc09b4c4 Bump github actions checkout to v2
It seems much less prone to failures
2020-02-21 19:35:38 +00:00
Philipp Wolfer
1175987788 GHA: Run apt-get update before apt-get install
Otherwise apt-get install might fail
2020-01-20 22:18:54 +01:00
Philipp Wolfer
f3b06786f1 CI: Test with PyQt 5.13.2 (in addition to current 5.14.x) 2020-01-07 15:52:09 +01:00
Philipp Wolfer
aac11effdc GHA: Run tests with older dependencies 2019-12-17 17:35:15 +01:00
Philipp Wolfer
34dfc31ad1 Github Actions: Run on pull requests 2019-12-02 13:38:10 +01:00
Philipp Wolfer
af68e3fb29 Github Actions: Run picard -V after pip install test 2019-11-28 08:09:08 +01:00
Philipp Wolfer
d4f4ac0f8f Github Actions: Run test suite on all pushes 2019-11-27 10:10:33 +01:00
Philipp Wolfer
89d6097125 Github Actions: Run tests even if code style validation fails
The test suite will still fail, but we get all issues reported instead of just code style issues.
2019-11-27 08:57:14 +01:00
Philipp Wolfer
a4c123bc25 Github Actions: Limit paths for which to run tests / packaging 2019-11-27 07:58:29 +01:00