Commit Graph

11 Commits

Author SHA1 Message Date
Martin Gallo ff32269707 Added a very simple workflow to automatically label new PRs (#1286) 2022-03-23 18:04:07 -03:00
Martin Gallo 3f61baa31b Dropping Python 2.7 support and adjusting doc
* Dropping Python 2.7 support. We're going to run it in GitHub Actions/Tox but only as experimental to have visibility.
* Arranged README and updated installation steps.
* Added latest ChangeLog entries.
* Added tox-gh-actions to simplify workflow.
2022-02-17 09:25:24 -08:00
Martin Gallo 728d7a2e2e Tests: Fixed Python 3.10 version for GH Actions 2021-12-03 15:19:59 -08:00
Martin Gallo 79193f50ec Moved Python 2.7 as experimental 2021-12-03 06:37:24 -08:00
Martin Gallo c3c4fe6faa Tests: Added Python 3.10 rc to GH Actions workflow 2021-08-17 12:59:40 -07:00
Martin Gallo d479c1c9da Merge branch 'master' into test-refactor-catchup 2021-07-07 16:42:29 -07:00
Martin Gallo 6bb5ea427b Tests: Continue refactor of test cases (#1112)
Continue refactor some of our test cases structure.

Main changes introduced are:
* Moved testing guide as a separate file and added some of the steps to configure the test environment.
* Leveraging unittest.main to catch command-line args and build the default suite.
* Only running GitHub actions workflow once for our own branches/PRs.
* Remote test config file can be specified via an env var now.
* Moved remote test config to a template and ignored config file.
2021-07-02 12:22:14 -03:00
Martin Gallo 9170de2d3d Tests: Moving flake8 steps to a separate job so we fail early and don't repeat (#1105) 2021-06-28 15:26:42 -03:00
Martin Gallo 658e0ab8e1 Tests: First batch of changes on refactoring test cases (#1102)
Tests: First batch of changes on refactoring test cases

This is the first part of a larger effort to refactor some of our test cases structure.

Main changes introduced are:
- Using pytest as the testing framework to organize and mark test cases.
- Replacing custom bash scripts with test cases discovery.
- Integrating pytest-cov plugin to easier coverage collection and reporting.
- Marking remote test cases to being able to pick those during run.
- Abstracted remote test cases configuration in a base class.
- Consolidating pytest, coverage and tox configuration in a single tox.ini file.
- Removed some Python 2.5 support and replaced custom compat checks with six.
- Replace unittest.TextTestRunner.run by unittest.main (cherry-picked from f5dab5ca76, thanks @franferrax !)
2021-06-25 11:19:52 -03:00
Martin Gallo e726161736 Setup: Using our own recommended pip calls 2021-05-18 06:20:10 -07:00
Martin Gallo efbe78bb1f Added basic GitHub Actions workflow (#1055)
As we were running with some issues with Travis (e.g. limited run minutes), we're adding GitHub Actions as a separate CI unit tests runner. Tests are executed via Tox in virtual environments so we should expect the same results as in Travis, although we're not yet replacing it at this point.

* Adds a basic workflow that:
  * Runs flake8 for syntax errors and then runs non-remote unit tests using Tox.
  * Runs on Python 2.7, 3.6, 3.7, 3.8 and allows failures on 3.9 as we do in Travis.
* Adds a job that just builds the contributed docker image to check it's not failing.
2021-04-16 15:31:20 -03:00