Commit Graph

6 Commits

Author SHA1 Message Date
Ana María Martínez Gómez
a39e3cca79 ci: test all supported Python versions
I assume once we migrate to Python3, we want to support Python 3.6-9.
Python 3.5 will stop receiving security fixes next month, so I don't
think we need to support it.

As running the test as many times as we want is free, run them for all
supported versions to ensure capa work in all of them.
2020-08-21 15:39:13 +02:00
Ana María Martínez Gómez
ad011b08f6 ci: use matrix in tests workflow to avoid duplication
Use a matrix with the Python version to avoid duplication when testing
different Python versions.
2020-08-21 15:00:06 +02:00
William Ballenthin
6cd2931645 ci: test on both py2 and py3 2020-08-16 05:04:19 -06:00
Ana María Martínez Gómez
def4ad68c3 ci: Run tests in master and PRs
Add the tests to the CI GitHub action. Only run the tests if code style
and rule linter succeed, as tests take some time to run.

A similar actions should be added to `capa-testfiles`.
2020-07-22 19:36:51 +02:00
Ana María Martínez Gómez
e744652999 Run rules linter in master and PRs
Add the rule linter to the CI GitHub action. A similar actions should be
added to `capa-rules` as well.
2020-07-17 14:20:37 +02:00
Ana María Martínez Gómez
4ab97ec910 ci: Add GitHub action for style checkers
Run isort and black for every pull request or push.
2020-07-16 22:05:17 +02:00