Commit Graph

1132 Commits

Author SHA1 Message Date
Jean-Michel Picod
dbacd7c9e4 Merge pull request #65 from jmichelp/master
Make internal python linter happy.
2020-03-03 16:04:55 +01:00
Jean-Michel Picod
740d6658a5 Make internal python linter happy.
It seems that our internal linter is stricter than what pylint does.
Fixing the python code to make both happy and tries to fix the gap by
modifying pylintrc configuration file
2020-03-03 14:56:11 +01:00
Jean-Michel Picod
b649433c5f Merge pull request #64 from jmichelp/master
Fix cargo audit workflow
2020-03-03 14:24:38 +01:00
Jean-Michel Picod
2e92227164 Fix cargo audit workflow
The env context is only available at the step level, not the job one so
we need to use the github context instead. But the head_ref will only be
populated if we run in a pull_request event. So until we find a better
solution, let's match on the repo URL.
2020-03-03 12:05:38 +01:00
Guillaume Endignoux
9f6207f5a5 Add more cargo check combinations, to include the panic_console and debug_allocations features. 2020-03-02 16:16:55 +01:00
Guillaume Endignoux
0547a02b3f Typo. 2020-03-02 16:09:33 +01:00
gendx
e52160bb6b Merge branch 'master' into add-debug-allocations 2020-03-02 16:06:30 +01:00
Guillaume Endignoux
495b32b7e0 Add feature to track allocations in libtock-rs and print statistics to the console. 2020-03-02 16:02:03 +01:00
Jean-Michel Picod
4930bff7f8 Merge pull request #62 from jmichelp/master
Fix clippy warnings.
2020-03-02 15:34:49 +01:00
Jean-Michel Picod
1c87efd27a Fix clippy warnings.
Because of libtock-rs we can't run clippy on our codebase. But it could
run at least on `build.rs`.
2020-03-02 15:14:50 +01:00
Jean-Michel Picod
e61e47820c Merge pull request #61 from jmichelp/master
Run everything that Travis-CI is running as Github workflows
2020-03-02 15:07:57 +01:00
Jean-Michel Picod
433103cbc9 Merge branch 'master' into master 2020-03-02 15:01:18 +01:00
Jean-Michel Picod
f9f27d7f89 Try to avoid running cargo audit on forks (it fails) 2020-03-02 14:28:16 +01:00
Jean-Michel Picod
72ac346d57 Revert strategy.matrix and fix missing release mode 2020-03-02 14:27:51 +01:00
Jean-Michel Picod
73de02d141 Try using strategy.matrix to run cargo check 2020-03-02 14:24:10 +01:00
Jean-Michel Picod
421f8194af Gate also crypto unit tests in pull-request by paths
These tests take 10 min. Let's avoid running them when not needed.
2020-02-28 17:10:28 +01:00
Jean-Michel Picod
e30ef9c984 Fix typo 2020-02-28 16:56:15 +01:00
Jean-Michel Picod
40632af186 Remove cargo audit on pull request as it fails 2020-02-28 16:55:18 +01:00
Jean-Michel Picod
ac42e86d37 Also ensure we build on OS X 2020-02-28 16:54:16 +01:00
Jean-Michel Picod
f91538506e Restore path guards 2020-02-28 16:38:42 +01:00
Jean-Michel Picod
578742034e Remove toolchain parameter for workflow
It seems the github action will pick up the rust-toolchain file and if
we specify it as an input, it will have a higher priority
2020-02-28 16:32:20 +01:00
Jean-Michel Picod
c8ac2baca3 Fix wrong workflow name 2020-02-28 16:24:21 +01:00
Jean-Michel Picod
ae1242a55d Temp enable all unit test to verify workflows 2020-02-28 16:11:23 +01:00
Jean-Michel Picod
cc35ce5067 Create workflows for unit testing 2020-02-28 16:03:04 +01:00
Jean-Michel Picod
68f9eb6b09 Enables cargo audit on pull request 2020-02-28 15:58:32 +01:00
Jean-Michel Picod
9de3817ade Add missing license header 2020-02-28 15:57:48 +01:00
Jean-Michel Picod
ac37d7dd8a Restore path guards 2020-02-28 15:55:06 +01:00
Jean-Michel Picod
7dedf40440 Fix typo in YAML workflow 2020-02-28 15:53:44 +01:00
Jean-Michel Picod
19056abbf3 Replace custom action by shell script 2020-02-28 15:52:09 +01:00
gendx
d6661a09c3 Merge pull request #60 from gendx/fix-dynamic-deferred-call
Import bugfix from https://github.com/tock/tock/pull/1636 as a patch.
2020-02-28 15:43:20 +01:00
Guillaume Endignoux
f2936cb45c Import bugfix from https://github.com/tock/tock/pull/1636 as a patch. 2020-02-28 15:12:16 +01:00
Jean-Michel Picod
6c23c45e3c Merge pull request #59 from cfsghost/master
Fixed incorrect command in install.md.
2020-02-28 10:38:00 +01:00
Jean-Michel Picod
47c523e959 Fix entrypoint 2020-02-27 20:11:29 +01:00
Jean-Michel Picod
fa19a80366 Try with a custom action 2020-02-27 20:07:29 +01:00
Jean-Michel Picod
db3b23cf22 Still trying to trigger pylint 2020-02-27 19:22:06 +01:00
Jean-Michel Picod
7a86f80e2b Now try to trigger pylint matcher 2020-02-27 19:16:45 +01:00
Fred Chien(錢逢祥)
c6665d9a25 Fixed incorrect command in documentation.
`ioreg -P USB` doesn't work, it should be `ioreg -p USB` to get usb list in Mac OS X.
2020-02-28 02:16:04 +08:00
Jean-Michel Picod
051a78ab98 Fix yapf matcher 2020-02-27 19:09:57 +01:00
Jean-Michel Picod
816d2020be Fix invalid regexp 2020-02-27 18:51:03 +01:00
Jean-Michel Picod
507f4a9f89 Temp disable path restriction 2020-02-27 18:47:21 +01:00
Jean-Michel Picod
4e4b4a3357 Add mistake in deploy.py to test matchers 2020-02-27 18:45:53 +01:00
Jean-Michel Picod
28afe7f86f Fix yaml bad indent 2020-02-27 18:43:02 +01:00
Jean-Michel Picod
d69b40f2cf Add custom python problem matcher for pylint and yapf 2020-02-27 18:41:14 +01:00
gendx
fb98d1bfde Merge pull request #57 from gendx/upstream-rtt
Synchronize with upstream Tock to remove 04-rtt.patch
2020-02-27 15:04:15 +01:00
Guillaume Endignoux
3831872585 Synchronize with upstream Tock to remove 04-rtt.patch 2020-02-27 13:42:47 +01:00
Jean-Michel Picod
41020ec9f6 Merge pull request #53 from jmichelp/master
Add Github workflows
2020-02-25 16:25:11 +01:00
Jean-Michel Picod
9de4662dee Add more checks
- python code formatting is tested with yapf
- cron workflow to run cargo audit
- Don't run on latest
2020-02-25 14:12:37 +01:00
Jean-Michel Picod
59f381c920 Add badges 2020-02-25 10:26:12 +01:00
Jean-Michel Picod
53964b1d61 Also run checks on pull requests 2020-02-25 10:25:55 +01:00
Jean-Michel Picod
a13f9cf8bc Restore path restriction
This avoids running workflows when it's not needed
2020-02-25 10:07:03 +01:00