#5 Enable smoke test in the tests namespace pipeline
Merged 4 years ago by psss. Opened 4 years ago by psss.
tests/ psss/python tests-pipeline  into  master

file added
+35
@@ -0,0 +1,35 @@ 

+ ---

+ - hosts: localhost

+   roles:

+   - role: standard-test-basic

+     tags:

+     - classic

+     tests:

+     - smoke27:

+         dir: smoke

+         run: VERSION=2.7 METHOD=virtualenv ./venv.sh

+     - smoke36:

+         dir: smoke

+         run: VERSION=3.6 METHOD=venv TOX=false ./venv.sh

+     - smoke37:

+         dir: smoke

+         run: VERSION=3.7 METHOD=venv ./venv.sh

+     - smokepypy:

+         dir: smoke

+         run: VERSION=2.7 METHOD=virtualenv PYTHON=pypy ./venv.sh

+     - smokepypy3:

+         dir: smoke

+         run: VERSION=3.5 METHOD=venv PYTHON=pypy3 ./venv.sh

+     required_packages:

+     - gcc

+     - /usr/bin/virtualenv

+     - python27

+     - python36

+     - python37

+     - pypy

+     - pypy3

+     - python2-devel

+     - python3-devel

+     - pypy-devel

+     - pypy3-devel

+     - python3-tox

no initial comment

Is this a test whether it will actually run?

Yes. We are now working on enabling the pipeline for the tests namespace. But feel free to suggest any comments for improvements. Once we get it into a working state you can merge it to "production".

Should we test all pythons and all methods?

If yes, you've missed pypys and venv.

If not (aka we only want to test some, to see if our options are working), I would suggest this:

  • python27 virtualenv tox
  • python36 venv notox
  • python37 venv tox
  • pypy virtualenv tox
  • pypy3 venv tox

@psss It seems work, even the flag with the link to the test results is there :)

rebased onto 81d0de1

4 years ago

Very nice! Thanks, Bruno for making this work. I've updated PR as suggested by @churchyard to test various options that are supported by the test (not covering all python versions).

Merge at will (not sure if you'd like to do more testing while this is open).

Pull-Request has been merged by psss

4 years ago