Pratham Chauhan
ccc51dab35
resolve merge conflict
2023-04-04 18:56:26 +05:30
Pratham Chauhan
c04774b4b1
solving unresolvable issues using --fix and ignoring some issues
2023-04-04 18:27:30 +05:30
Willi Ballenthin
545e198257
ci: bump more ubuntu images
2023-04-03 17:54:41 +02:00
Pratham Chauhan
ed64986af8
adds a ruff.toml file for config
2023-03-30 14:22:11 +05:30
Pratham Chauhan
84052c3ac5
init
2023-03-27 19:21:55 +05:30
Willi Ballenthin
2bedc6b181
ci: tests: run binja after code style/linter
2023-03-27 11:47:53 +02:00
Willi Ballenthin
4be3fe1628
Merge branch 'master' into wb-proto
2023-03-24 11:51:45 +01:00
Willi Ballenthin
89803e7523
ci: add binary ninja installation and test invocation
2023-03-23 14:17:26 +01:00
Willi Ballenthin
c197fd5086
proto: add type stubs for generate schema
2023-02-14 10:57:43 +01:00
Willi Ballenthin
b6e607f60e
ci: ignore syntax, type checking for protobuf generated files
2023-02-14 10:26:05 +01:00
Moritz
96f266ce5e
ci: pin GitHub Actions versions ( #1295 )
2023-01-25 17:34:28 +01:00
mr-tz
c0a8a91281
update Actions
2023-01-03 11:39:51 +01:00
Willi Ballenthin
88cffee902
ci: bump action versions ( #1233 )
...
* ci: bump action versions
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2022-12-19 12:34:18 +01:00
Willi Ballenthin
b12d526a60
tests: use python 3.11 ( #1191 )
2022-12-19 11:12:42 +01:00
Willi Ballenthin
8afebc1f17
ci: mypy: enable --check-untyped-defs
2022-12-13 13:20:01 +01:00
Moritz
f72f8b054a
ci: use macos-11 ( #1066 )
...
* ci: use macos-11
* ci: use macos-10.15 for build
2022-06-28 21:47:06 +02:00
Mike Hunhoff
580a2d7e45
dotnet: basic detection and feature extraction ( #987 )
2022-04-08 14:55:00 -06:00
Willi Ballenthin
0617b87f36
ci: no longer test against py3.6
2022-04-05 10:19:09 -06:00
Willi Ballenthin
031ea167e8
add pycodestyle config
2022-03-28 13:17:18 -06:00
Willi Ballenthin
7e50a957ff
ci: tests: python versions are strings not floats
2021-11-16 10:12:34 -07:00
Willi Ballenthin
137cff6127
ci: tests: test under py3.10 too
2021-11-16 10:06:32 -07:00
Moritz Raabe
6860b9a040
address Willi's feedback
2021-06-29 21:16:31 +02:00
Moritz Raabe
5c8a4aafd7
test scripts and fix show-features
2021-06-29 21:16:31 +02:00
William Ballenthin
48756a7621
ci: invoke mypy during testing
2021-06-14 10:41:53 -06:00
Ana Maria Martinez Gomez
f304bdbd20
ci: lint CHANGELOG
...
The sync GH action in capa-rules relies on a single '- *$' in the
CHANGELOG file. Check in the tests that this is the case to avoid that
it is removed.
This happened in the following PR:
https://github.com/fireeye/capa/pull/591
This caused that the new rules in the following PR were not added to the
CHANGELOG:
https://github.com/fireeye/capa-rules/pull/400
2021-06-02 12:42:48 +02:00
Moritz
424a25cb91
Fix tests on Windows - reduced memory impact and general fixes ( #545 )
...
* Update tests.yml
* Update .github/workflows/tests.yml
* Update tests.yml
* update
* min tests
* enable all, no sigpaths
* update cache
* save workspace, log caching
* updated tests
* update tests
* update rec call test
* lower cache size
* address Ana's feedback
2021-05-11 16:29:01 +02:00
William Ballenthin
a0e045dc52
ci: use black/isort dep from setup.py
...
closes #535
2021-04-26 08:39:01 -06:00
Ana Maria Martinez Gomez
c0d6468347
py3: Remove Python 2 tests
...
Tests don't need to support Python 2 any longer. Do not run tests with
Python 2.
2021-04-07 18:20:07 +02:00
Ana Maria Martinez Gomez
d412e66cea
ci: do not test Python 2.7 with Windows
...
The Python 2.7 tests fail in Windows with vivisect because the Windows
filesystem encoding is not UTF-8. This shouldn't be a problem when using
capa as the given filename most likely uses the same encoding, but we
force UTF-8 in our tests. As we are planing to remove Python 2 support
is not wortwhile to invest time in making this test working. Instead,
test Python 2.7 only in Ubuntu.
2021-04-06 21:39:01 +02:00
Moritz Raabe
efe50d3313
ci: test on Windows and macOS
...
Run the tests on Windows and macOS to avoid failures OS related.
closes #460
2021-04-06 21:38:07 +02:00
Willi Ballenthin
29d8f1fd27
ci: tests: pin OS version
2021-03-22 09:51:20 -06:00
Moritz Raabe
4bc06aa8cd
closes #405
2021-01-28 08:23:15 +01:00
Moritz Raabe
2c5508febd
bump smda, enable Python 3.9
2021-01-22 10:00:25 +01:00
Moritz
a813e219e6
Merge pull request #363 from fireeye/williballenthin-patch-1
...
ci: disable py3.9 testing
2020-11-09 21:14:36 +01:00
Willi Ballenthin
65feb60bb8
ci: disable py3.9 testing
2020-11-09 13:06:37 -07:00
Moritz Raabe
75defc13a0
disable fail-fast for tests job
2020-11-09 13:22:23 +01:00
William Ballenthin
4b066e908c
ci: use sudo to apt
2020-09-22 11:20:15 -06:00
William Ballenthin
041e443619
ci: install libyaml when appropriate
2020-09-22 11:18:15 -06:00
Christian Clauss
47dc4d39eb
GitHub Action: Test Python 3.9 release candidate 1
2020-09-07 09:52:15 +02:00
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