Commit Graph

26 Commits (master)

Author SHA1 Message Date
Tim Burke d6e198797d Switch from yasm to nasm
... and build it from source so we can build latest ISA-L
(otherwise, the version shipped by some distros would
complain about a %use directive).

Change-Id: Iddba90e65c0eac135a71af920b3433775b9c8f0e
2023-07-11 13:55:29 -07:00
Tim Burke 415efe08f2 Fix gate
Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/881890
Change-Id: I9ebf7457e0fc0c98711ba1b093b0f1b8a9f25dff
2023-05-01 08:49:55 -07:00
Tim Burke 2884a6b882 Use hacking checks
Change-Id: I5ed0829d1124c813fb3457cf45152a0f175cebea
2022-04-08 20:29:20 -07:00
Tim Burke 836dc916f0 Add py310 to default tox envlist
Change-Id: Ia2b346f6b1f96a86b6ca84c06b3e4c6197a17ab5
2022-04-05 12:08:08 -07:00
Zuul ec7c246fc2 Merge "Docs build cleanup" 2021-12-03 20:39:24 +00:00
Tim Burke b90881f866 Docs build cleanup
Break doc requirements out to a separate file in the doc/ tree.

Drop upper-bound on sphinx -- the gate job has been pulling from
upper-constraints, anyway.

Clean up a warning:

   WARNING: html_static_path entry '_static' does not exist

Change-Id: I70010029060442fb31d96fce57e8f44a55424b7f
2021-11-29 11:16:56 -08:00
Tim Burke a21dc9f46f Switch test runner from nose to pytest
Change-Id: I3c2518c5c9bfc0bf6ce58cdc82ddafb45c4c5d76
2021-05-11 16:02:42 -07:00
Tim Burke ab49ad922d Test under py39
Change-Id: Ic6a51675dbf1c4c7a7540d9a0d80ee33cb064b80
2021-03-30 14:48:10 -07:00
Tim Burke f784efde00 Move liberasurecode-git behavior into all tox envs with compilelibs marker
This should let us use that to test against master libec in the gate,
rather than relying on legacy job cruft.

It may complicate cross-project dependencies, but I don't know that we
did that much anyways.

Add a job to test against master libec on centos8, as well.

Change-Id: I33553d9a3432d97a28e4ea685ffc7bc4fb92a340
2020-09-24 11:46:42 -07:00
Tim Burke df28f6521c Update tox default env list; add py37 job
Change-Id: Id7807e17c6628124b98bd6a371bf6ac2ebbbd9cc
2019-02-26 13:41:25 -08:00
Zuul 3b7a278123 Merge "Switch from pep8 to flake8 for linting" 2018-03-13 20:15:31 +00:00
Tim Burke 4591831034 Install jerasure from source when testing liberasure-master
Change-Id: I5e88c7268641b6bcad019748544ffd2694cee50f
2017-09-13 21:27:06 +00:00
Tim Burke 08bfdb2e48 Install isa-l from source when testing liberasure-master
Change-Id: I93506b63f2a4f86358d5ffbca8b7360e797729d1
2017-09-13 21:26:14 +00:00
Jenkins 249ea7cc3e Merge "Add tox environment to test against liberasurecode master" 2017-09-13 21:31:56 +00:00
Tim Burke a514c89d88 Add tox environment to test against liberasurecode master
Go clone liberasurecode to our tox env directory, install it
there, and tell setuptools/distutils to use it.

To checkout something *other* than tip-of-master, set LIBERASURECODE_REF
to the remote ref you're interested in.

Change-Id: I13417e058a340ba0d4a79080f0e05dea1be193fc
2017-05-03 16:28:32 -07:00
Tim Burke 292856defa Switch from pep8 to flake8 for linting
...and clean up the unused variables, unused imports, and inconsistent
spacing that flake8 revealed.

Change-Id: I3ae1e834f01f477be88dfc48de954eeaf19e43cf
2017-05-03 15:07:20 -07:00
Jenkins 6a5ec37f15 Merge "Don't let nose play with our PYTHONPATH." 2017-03-02 10:33:47 +00:00
Clay Gerrard 37d43c7c73 Use py35 tox environment by default
Change-Id: Ieb54b0b38f04a3502cf08206f1ce036fe2cb671c
2017-02-28 16:47:11 +00:00
Clay Gerrard 28b0abc51b Don't let nose play with our PYTHONPATH.
Closes-Bug: #1668447

Change-Id: I5a9844bad285d992b6a3a01a7fd95634d02960cd
2017-02-28 04:20:40 +00:00
Kota Tsuyuzaki ebaffcdfc1 Add -v option to let us know which tests are passed in the gate
Change-Id: If8bda742ad106da867b7cb282a6a6a2939269c51
2016-12-01 17:46:31 -08:00
Clay Gerrard 685bc06180 Cleanup lint errors in test suite
Add some more linting to test modules and clean 'em up

Change-Id: I8bece8e1e2971ef508c058220dd2646ae880fe35
2016-11-29 18:40:53 -08:00
Kota Tsuyuzaki 10802bac59 Add tox/requirements settings to pass gate job
Plus, we need liberasurecode version handling for a few place because
some tests/engine itself is broken with a lack of backword
compatibility.

Closes-Bug: #1586220

Change-Id: I72adaefa10875a73e3e5304eb40fe5d9f6d2598a
2016-08-12 00:05:03 -07:00
Tushar Gohad 9bb3c040e4 Add ChangLog. README updates for 1.0.8. 2015-08-03 01:30:42 +00:00
Tushar Gohad 7597d05fba Revert "Add py27,py34 tox testenvs/Custom pep8 env"
This reverts commit 28d9e16f10.
2015-07-28 22:29:14 +00:00
Tushar Gohad 28d9e16f10 Add py27,py34 tox testenvs/Custom pep8 env 2015-07-28 01:12:55 -07:00
Victor Stinner 9a489dee81 Add tox.ini
tox allows to easily run tests on Python 2 and Python 3. It creates a
virtual environment and install pyeclib in each venv.

Run "tox" to test both Python version, or "tox -e py27" to only test
Python 2.7.
2015-07-21 23:23:48 +02:00