Pedro Algarvio
6ded18614c
Make sure pytest-salt is also uninstalled for any pytest session
2020-05-21 23:59:36 -07:00
Pedro Algarvio
6445cceb3b
Move the coverage DB to artifacts/coverage in order for it to be archived by CI
2020-05-20 11:28:37 -07:00
Pedro Algarvio
d8b08f3b7f
Decomplicate requirements installation.
...
We no longer have platform specific requirements.
2020-05-19 10:19:31 -07:00
Pedro Algarvio
d0d1d754e2
Allow passing extra requirements to install.
...
This is useful for debugging purposes where we might want to install
debugging packages.
Fixes https://github.com/saltstack/salt/issues/56897
2020-05-19 10:19:31 -07:00
Pedro Algarvio
1051880d62
Stop using --contraint
when pip installing. Its slower.
...
This can be done because the static requirements files are always up to
date.
2020-05-18 11:31:02 -07:00
Pedro Algarvio
7ff7375c31
Allow bypassing requirements installation.
...
This shall be considered an expert feature since you need to be aware of
what's going on.
This is useful when writing tests and running them over and over again
where on the first run the requirements get properly installed but on
subsequent runs, if no requirements are changed, the install procedure
does not need to run, thus, saving valuable seconds which can quick turn
into several minutes when repeating test runs.
2020-05-18 11:30:46 -07:00
ch3ll
df480e37c0
update pydir call and fix format
2020-05-07 16:22:31 -07:00
ch3ll
c87642181e
add towncrier to manage changelog
2020-05-07 16:22:31 -07:00
Pedro Algarvio
a0e96810fd
Show test execution order in CI runs to help debug test suite hangs
2020-05-07 16:00:11 -07:00
Pedro Algarvio
e157459016
Switch to pytest-salt-factories
2020-05-07 16:00:11 -07:00
Pedro Algarvio
146e1d6547
Fix cloud tests selection
2020-04-29 11:25:12 -07:00
Daniel Wozniak
096dc75a70
Merge pull request #56727 from s0undt3ch/features/doc-pre-commit
...
Replace `tests/unit/test_doc.py` with a pre-commit hook.
2020-04-23 23:30:54 -07:00
Pedro Algarvio
a5b9961f78
Lay the ground for invoke
usage
2020-04-23 18:42:47 +01:00
Pedro Algarvio
a24f6fe7e7
Default crypto library to pycryptodomex
2020-04-23 09:32:34 +01:00
Daniel Wozniak
9141e4d34f
Merge pull request #56821 from s0undt3ch/hotfix/requirements
...
[PyTest #33 - Extract] Preliminary Py3.8 & Py3.9 Static Requirements Files
2020-04-22 21:51:31 -07:00
Pedro Algarvio
625460bc4a
Allow running the test suite against Py3.8 and Py3.9
2020-04-22 12:26:30 +01:00
Pedro Algarvio
d3dbe0b39d
Call coverage
or pytest
using python -m
...
This has the desired side effect to add the current directory to
`sys.path`
2020-04-22 08:00:51 +01:00
Pedro Algarvio
a5b2b6c350
Drop the old py.test
call in favour of the new pytest
call
2020-04-22 08:00:50 +01:00
ch3ll
5994376c11
Revert "update pydir call and fix format"
...
This reverts commit 7468883dc0
.
2020-04-20 09:39:00 -04:00
ch3ll
2586f716b2
Revert "add towncrier to manage changelog"
...
This reverts commit 57d160cc60
.
2020-04-20 09:34:36 -04:00
ch3ll
7468883dc0
update pydir call and fix format
2020-04-16 17:04:53 -04:00
ch3ll
57d160cc60
add towncrier to manage changelog
2020-04-16 17:04:49 -04:00
Blacken Salt
0b2a5613b3
Blacken salt
2020-04-03 13:05:41 -05:00
Pedro Algarvio
e6cc2a6192
Separate pyobjc requirements
2020-03-23 22:52:24 +00:00
twangboy
224f72d0f2
Update noxfile and .precommit
2020-03-23 13:58:38 -06:00
twangboy
3bda8ddb82
Update noxfile and pre-commit
2020-03-20 17:52:59 -06:00
Pedro Algarvio
04e5cde9dd
pkg/osx/req_ext.txt
no longer exists
2020-03-19 21:16:48 +00:00
Pedro Algarvio
6878111344
Update to latest unittest-xml-reporting
. Fix missing .fileno
method.
2020-01-15 16:04:20 -08:00
Pedro Algarvio
02d1a7d984
Have nox reuse pre-commit's virtualenv
2020-01-03 13:38:20 +00:00
Pedro Algarvio
f0bc3d7594
PyLint disable try-except-raise
2020-01-03 10:54:43 +00:00
Pedro Algarvio
c5043618ac
"Tee" the pylint output instead of echoing it at the end
2020-01-03 08:34:58 +00:00
Pedro Algarvio
b3b3f43157
Remove custom lint flags from pylint sessions. Lint fix.
2020-01-03 08:34:58 +00:00
Pedro Algarvio
0bec0597ab
Start linting under Py3
2020-01-03 08:34:57 +00:00
Pedro Algarvio
6e5b627627
Use coverage==5.0.1
2019-12-27 12:35:34 +00:00
Pedro Algarvio
3adb8a2bb4
Don't rerun failed tests for now
2019-12-17 18:20:41 +00:00
Pedro Algarvio
70b3ccb7ac
Don't write over JUnit tests results on re-runs
2019-12-17 18:20:41 +00:00
Pedro Algarvio
3f9a26e857
Future proof the debian based distro's python-apt copy "hack"
2019-12-10 15:06:00 +00:00
Pedro Algarvio
36b405acaf
Ignore the resource-leakage
lint rule
2019-12-02 17:17:43 +00:00
Bryce Larson
82a7e4ea4d
compress docs with xz to save more space
2019-12-01 15:19:51 -07:00
Pedro Algarvio
d8275f2c1d
Prevent bytecode from being written do disk
2019-11-27 20:10:49 +00:00
Pedro Algarvio
635e7f2b33
Don't nuke our multiprocessing efforts objc!
2019-11-27 20:09:33 +00:00
Pedro Algarvio
4d8503e304
Fix path to Mac OS requirements file
2019-11-10 15:46:10 +00:00
Pedro Algarvio
eea27dc56b
Timestamp log files
2019-10-31 15:22:39 +00:00
Pedro Algarvio
738d5765f9
Use relative paths
2019-10-31 15:22:39 +00:00
Pedro Algarvio
549274584b
Generate and upload salt and tests coverage separately
2019-10-30 21:31:01 +00:00
Pedro Algarvio
ed0dccaeff
Nox docs build now builds HTML docs and Man pages
2019-10-28 15:28:19 +00:00
Pedro Algarvio
c086a7546a
Add crypto requirements constrains.
...
Additionally, add support for OSX constrains file into noxfile.
2019-10-28 13:55:06 +00:00
Pedro Algarvio
63bd6a92d8
Fix Docs and Lint nox pip constrains usage
2019-10-28 13:22:08 +00:00
Pedro Algarvio
5df806955b
Switch to pip constraints files
2019-10-17 20:22:46 +01:00
Pedro Algarvio
503f1e2a82
Consolidate linux static requirements
2019-10-17 20:22:46 +01:00