| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
We require Ubuntu 16.04+ which has 3.5
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
pytest-faulthandler was failing but this is now fixed upstream:
https://github.com/pytest-dev/pytest-faulthandler/pull/29
|
| |
|
|
|
|
| |
This just builds things and doesn't run anything
|
|
|
|
| |
To make sure everything works with older libraries.
|
| |
|
|
|
|
|
| |
While we could just pass --no-external we want the coverage of
the gobject-introspection files.
|
|
|
|
| |
not sure where that path is comming from, it worked in the MR..
|
|
|
|
|
|
| |
Use coverage.py and cygwin lcov to generate coverage files.
In the report generation step fixup the Windows paths in the coverage
files to match the Linux/Docker ones.
|
|
|
|
|
| |
This assumes a gitlab runner with a "win32" tag which has
MSYS2 installed in the default path and uses the "cmd" shell.
|
|
|
|
|
|
| |
names
all py3 jobs wrote to the same file, oops..
|
|
|
|
|
| |
Use gcov/lcov and coverage.py; merge all results and provide
the final html reports as job artifacts.
|
| |
|
|
|
|
| |
This makes pytest print a Python stack trace in case of a crash.
|
|
|
|
|
|
|
|
|
|
|
| |
The TEST_NAMES env var gets translated to work with the pytest syntax
(foo.py::class::method).
Rename one class which triggers a pytest warning because it starts with
"Test" but isn't one.
Remove erroring out on Python warnings as pytest triggers some
deprecation warnings by default.
|
|
|
|
|
|
|
| |
This allows us to remove code duplication in autotools/distutils.
This also fixes the noisy dbus output during tests because dbus-run-session
forwarded dbus logging output to stderr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deadsnakes only provides packages for Ubuntu LTS versions and doesn't
include versions present in that Ubuntu version.
With Ubuntu zesty this happened to work, but now that that's EOL
we have to switch to artful and no longer have a Python 3.5 available.
Instead switch to using pyenv in docker and compiler our own Python
versions. This should make it easier to swtich distros in the future.
Also adds a run-docker.sh script which builds the image and
runs it with the git repo mounted. This should make local testing
easier in the future.
|
|
|
|
| |
pycairo git now installs things into $prefix/lib/pkgconfig
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
flake8 uses pep8/pycodestyle/pyflakes internally, so there should not
by any difference.
The nice thing about it is that we can store the configuration in
setup.cfg and linting comes down to just executing "flake8".
It also allows to ignore warnings with inline comments, so that
when avoiding a warning isn't possible it doesn't need to be disabled
for the whole codebase.
|
|
|
|
|
|
| |
While pep8 is replaced by pycodestyle, the "make check.quality"
command still uses pep8. Install it for now and fix some warnings
which slipped through due to pep8 not running.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a "build_tests" command which builds all resources required for testing.
It has some simple dependency awareness and only rebuilds if any of the direct
sources have changed. Passing -f/--force will force a rebuild.
Adds a new "test" command which builds the main extension module in the source
directory, runs "build_tests" and finally runs all tests.
Extends the "distcheck" command to run the tests after extracting the source
distribution and run the distcheck command in the gitlab CI script.
Only tested on Linux.
|
|
Adds a Dockerfile which is available on the docker hub
and gets used by the gitlab test runner.
The tests get executed in an Ubuntu 17.04 image for various Python
versions and consist of building, testing, code quality testing and
documentation build testing.
|