Commit Graph

20 Commits

Author SHA1 Message Date
adrian manrique e1d303a3cd fixed typo 2026-05-19 17:13:57 -03:00
adrian manrique 71bb26bd64 added python 3.14 2026-05-19 17:10:16 -03:00
adrian manrique f2f2b367f5 Update build_and_test.yml (#1965)
* Update build_and_test.yml

added python 3.13
removed python 3.8

* workaround delying thread initialization to avoid python3.13 bug

* workaround delaying thread initialization to avoid python3.13 bug

* avoid running Process instances beacuse of a bug in python3.13 https://github.com/python/cpython/issues/134381

* removed hack

* make helper servers run as daemon in order to make testecases not to get stuck
2025-05-23 18:48:29 -03:00
adrian manrique 63079001e2 Update build_and_test.yml (#1782)
removed python 3.6,3.7 support. Added python 3.12-dev
2024-07-25 11:29:49 -03:00
0xdeaddood 39c1a673bb Merge branch 'update_gh' into GH_actions
# Conflicts:
#	.github/workflows/build_and_test.yml
2023-04-25 23:55:25 -03:00
0xdeaddood a9c866a0e9 Modify build and test job for Python 3.6
Python 3.6 has reached end-of-live, for that reason is no longer support on newer ubuntu version: actions/setup-python#544. Changed to ubuntu-20.04.
2023-01-14 01:30:53 -03:00
Christian Clauss 7c2edd137a Update build_and_test.yml 2022-08-27 00:02:58 +02:00
Christian Clauss df78d341bb Upgrade GitHub Actions 2022-08-26 23:51:19 +02:00
0xdeaddood dfaef151fe Removed Python 2.7 tests 2022-04-21 00:04:59 -03:00
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