Commit Graph

38 Commits

Author SHA1 Message Date
William Ballenthin
8a2ba9cd71 Merge branch 'backend-lancelot' into fix-46 2020-08-25 12:43:45 -06: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
a2da55fb6f Add version number to zip in build workflow
Relay in `github.ref` (the release tag).
2020-08-17 11:59:04 +02:00
William Ballenthin
0cfbed05b4 ci: install pefile on py3 2020-08-16 01:41:25 -06:00
William Ballenthin
ca95512811 ci: test on both py2 and py3 2020-08-16 01:36:25 -06:00
Ana María Martínez Gómez
f7925c2990 Fix pypinstaller to version 3 in build workflow
pyinstaller 4 doesn't support Python 2.7. Without a version, it takes
the last version making the workflow fail.
2020-08-15 12:28:51 +02:00
Ana María Martínez Gómez
b94f665d4b Zip release binaries
Update `build` workflow to zip the binaries before upload them. Use
linux to zip all the binaries.
2020-08-15 12:28:48 +02:00
Ana María Martínez Gómez
68f27dfea4 Fix indentation of build workflow
Correct indentation to make it easier to read.
2020-08-15 09:11:18 +02:00
Ana María Martínez Gómez
35226e1e4e Use GitHub default repo token in build action
As we this workflow modifies only the same repo, no extra token
(`CAPA_TOKEN`) is needed and we can use the default `GITHUB TOKEN`
instead.
2020-08-15 09:11:16 +02:00
William Ballenthin
fd92165f29 setup: bump viv version 2020-08-04 13:06:52 -06:00
William Ballenthin
9778a1de18 ci: build standalone exe upon release 2020-08-04 12:05:02 -06:00
William Ballenthin
328f27511b ci: build standalone exe upon release 2020-08-04 12:04:15 -06:00
William Ballenthin
9751c66565 ci: demonstrate capa runs against test file 2020-08-04 11:56:05 -06:00
William Ballenthin
32e293f78f ci: checkout submodules for rules 2020-08-04 11:53:13 -06:00
William Ballenthin
61afeb1b78 ci: upload artifacts upon build 2020-08-04 11:49:26 -06:00
William Ballenthin
0606666e08 ci: run capa on itself to demonstrate rules work 2020-08-04 11:44:41 -06:00
William Ballenthin
ae276d27ab ci: configure win/macos os 2020-08-04 11:39:44 -06:00
William Ballenthin
dd74fae160 ci: attempt to configure gh actions for pyinstaller 2020-08-04 11:31:33 -06:00
Ana María Martínez Gómez
f3e2abf467 doc: Improve issue templates
Add some useful information, correct small mistakes and simplify the
templates. Make also both templates consistent.
2020-07-24 10:24:35 +02: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
William Ballenthin
187d5b59ac pyinstaller: update program icon 2020-07-15 18:40:45 -06:00
William Ballenthin
c89c7f7c08 pyinstaller: update version format embedded in standalone exe 2020-07-15 18:35:50 -06:00
William Ballenthin
3faf175da7 *: add license header
closes #144
2020-07-15 14:14:53 -06:00
Willi Ballenthin
3920a1f37c add capa-ida.jpg 2020-07-14 10:59:45 -06:00
William Ballenthin
84f52b9b8d update icon 2020-07-14 08:57:18 -06:00
Moritz
ff5dd00157 Update bug_report.md 2020-07-13 11:14:48 +02:00
Moritz
12e830ec48 Update feature_request.md 2020-07-13 11:12:11 +02:00
William Ballenthin
f99fe8aacb re-add missing pyinstaller spec 2020-07-07 12:32:39 -06:00
William Ballenthin
22d0f94cea move ci files to .github directory
since this is where we host everything

closes #113
2020-07-07 12:28:47 -06:00
Willi Ballenthin
bf049f5db3 contributing: remove atom cruft 2020-07-07 09:06:39 -06:00
Willi Ballenthin
e331b56e7d contributing: remove atom cruft 2020-07-07 09:05:05 -06:00
William Ballenthin
93dfb4fd17 contributing: wording 2020-07-06 16:17:16 -06:00
William Ballenthin
4db45e5c33 contributing: formatting 2020-07-06 15:49:34 -06:00
William Ballenthin
2968004bfb add contributing guide 2020-07-06 15:46:32 -06:00