jvoisin
94ef57c994
Add python3.12 in the CI
2024-01-02 02:50:44 +00:00
georg
6fde80d3e3
CI: shallow clone repository and limit depth to 5
...
The previous commit changed the strategy to 'clone', instead of 'fetch'
as before. While this fixes permission errors, it is also slower, as an
existing checkout of the repository will be ignored. To overcome this,
this commit limits the depth to 5.
2023-03-20 15:11:02 +00:00
georg
6c05360afa
CI: 'clone' git repository instead of 'fetch'
...
While the former is slower, the later might lead to errors such as
"fatal: detected dubious ownership in repository at" which is fixed
GitLab upstream via
https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3538 , but
not yet released.
Closes #191
2023-03-20 15:10:56 +00:00
georg
596696dfbc
CI: Add python3.{7,8,9,10,11} test jobs
...
Closes #187
2023-03-15 23:38:39 +00:00
georg
8b41764a3e
CI: linting: ruff: specify image
...
Otherwise, this job might fail, depending on the runner which executes
the job, due to different configurations, especially wrt the default
image.
Ref https://0xacab.org/jvoisin/mat2/-/merge_requests/105
2023-03-07 11:25:17 +00:00
jvoisin
a63011b3f6
Improve the CI
...
- Remove some useless linters
- Make use of ruff
2023-02-20 21:15:07 +01:00
jvoisin
6479d869e4
Remove the Nautilus extension
2022-12-05 20:31:12 +01:00
jvoisin
180ea24e5a
Remove pyflakes
...
Isn't borderline useless compared to mypy and pylint
2022-11-21 19:57:38 +01:00
jvoisin
62dc8c71c1
Enable gitlab's SAST
2022-04-02 16:19:13 +02:00
jvoisin
22199df4d0
Please the linters wrt. the previous commit
2021-12-09 16:58:24 +01:00
jvoisin
6afb0cb9d8
Please the linter, again.
2021-11-23 17:36:17 +01:00
jvoisin
fb7440ab5d
Please a bit the CI
2021-11-21 11:02:22 +01:00
jvoisin
708841f9f5
Fix the coverage
2021-10-03 19:57:44 +02:00
jvoisin
682552d152
Allow bubblewrap to fail for now
2021-05-05 21:04:29 +02:00
jvoisin
7ce2b5121b
Please pylint
2020-11-30 18:53:25 +01:00
jvoisin
88b7ec2c48
Don't be silly
2020-11-23 19:55:35 +01:00
jvoisin
77dde8a049
Please pylint
2020-11-13 12:09:25 +01:00
jvoisin
d7a03d907b
Vastly improve ppt compatibility
2020-03-08 14:06:27 +01:00
Ivy Fay
8c7b23be90
.gitlab-ci.yml: make test command consistent across distros
...
This switches to use "python3 -m unittest discover -v" onevery distro.
2019-12-02 14:45:32 +00:00
georg
deeee256cc
CI: Use pylint, instead of pylint3
...
It seems, despite the name, both packages depend on Python 3. However,
pylint3 seems deprecated, and upstream recommends to install pylint:
https://www.pylint.org/#install
The current versions of both packages in Debian unstable are:
pylint 2.4.4-1
pylint3 2.2.2-1
This commit fixes failing CI jobs due to the use of pylint3 2.2.2-1,
which seems broken.
2019-11-26 23:16:49 +00:00
jvoisin
df1eb98a40
Please the new version of pylint
2019-11-26 22:12:56 +01:00
madaidan
58773088ac
Mount a new tmpfs on /tmp and drop all capabilities
...
This mounts a new tmpfs on /tmp so any files residing there would be hidden
from the sandbox. Many programs store some files in there that might be useful
to an attacker. It also drops all capabilities incase it is ever run with
extra capabilities for whatever reason.
2019-10-05 15:21:40 +02:00
jvoisin
49e0c43ac5
Tweak a bit the ci
...
- gentoo and debian with bubblewrap are not allowed to fail anymore
- don't run coverage on debian without bubblewrap
2019-07-22 23:36:20 +02:00
georg
a81ea65d44
CI: Run bubblewrap tests as different user than 'root' to fix errors
...
It seems, there is a bug somewhere if the test suite is invoked as
'root', and bubblewrap is available.
2019-07-22 13:39:06 -07:00
georg
8bb2826f7a
CI: Add job to run codespell, a spell checking software
2019-07-22 13:31:40 -07:00
jvoisin
4f0e0685ca
Allow failure with bubblewrap for now
2019-05-08 21:36:29 +02:00
jvoisin
b8c92fec09
Fix the testsuite
2019-03-23 00:41:23 +01:00
georg
2dc097baf3
CI: Add job to run tests on gentoo
...
Closes #93
2019-03-09 04:15:10 -08:00
georg
e40eb92b55
CI: Don't run 'pip3 install' the Docker images already does that
2019-03-07 21:53:43 +01:00
georg
a5a3e4677f
CI: Drop obsolete tags to force jobs to run on whitewhale
...
This made sense some time ago. Nowdays, the whitewhale runner seems to
not really be reliable, so tagging jobs with it doesn't gain much.
Relates #45
2019-03-07 21:53:43 +01:00
georg
adf7adf854
CI: Don't install packages in the jobs, now handled via pre-built images
...
Relates #45
2019-03-07 21:53:43 +01:00
georg
2b4f2199e4
pylint: disable 'no-else-return' rule (R1705)
2019-03-07 21:53:43 +01:00
georg
459ed07443
CI: Use own images to speed up jobs
...
Relates #45
Relates #93
2019-03-07 21:53:43 +01:00
intrigeri
e8c1bb0e3c
Whenever possible, use bwrap for subprocesses
...
This should closes #90
2019-02-03 19:18:41 +01:00
jvoisin
1d75451b77
Add some type annotations to the nautilus extension
2018-11-08 21:40:33 +01:00
jvoisin
e70ea811c9
Implement support for .avi files, via ffmpeg
...
- This commit introduces optional dependencies (namely ffmpeg):
mat2 will spit a warning when trying to process an .avi file
if ffmpeg isn't installed.
- Since metadata are obtained via exiftool, this commit
also refactors a bit our exfitool wrapper.
2018-10-22 12:58:01 +02:00
Rémi Oudin
f1552b2ccb
Make testsuite fail if coverage is under 100%
...
Fixes issue #61
2018-10-12 17:07:56 +02:00
jvoisin
0d25b18d26
Improve both the typing and the comments
2018-10-05 17:07:58 +02:00
jvoisin
7f629ed2e3
Run the testsuite exclusively on Whitewhale for now
...
This should fix the intermittent failures, thanks
to @pollo for the tip
2018-09-25 17:09:04 +02:00
jvoisin
91e80527fc
Add archlinux to the CI
2018-09-01 15:41:22 +02:00
jvoisin
aba9b72d2c
Fix some leftovers from the previous commit
2018-08-26 01:10:48 +02:00
jvoisin
b32ba9f736
Improve a bit nautilus' popup
2018-07-25 22:48:05 +02:00
jvoisin
7697f9c085
Improve the linters' coverage
2018-07-23 23:55:45 +02:00
jvoisin
22e3918f67
Add pylint3 to the ci
2018-07-09 01:22:08 +02:00
jvoisin
86fe3aa584
Fix the previous commit
2018-07-09 00:30:16 +02:00
jvoisin
cc327b1592
Minor improvement of fedora's duration in the testsuite
2018-07-09 00:27:40 +02:00
jvoisin
02f7605ac1
MAT2 is now cleaning revisions from odt files!
2018-07-01 21:09:20 +02:00
jvoisin
63b19416ef
Pyflakes should run on the testsuite too
2018-06-22 21:18:22 +02:00
jvoisin
84277740a9
Add fedora in the CI
...
refactor
2018-06-19 00:01:28 +02:00
jvoisin
b310a18e69
Add branch coverage to the CI
2018-06-10 01:02:21 +02:00