Commit Graph

9 Commits

Author SHA1 Message Date
Gustavo Henrique Nihei e571855f58 ci: Define concurrency groups for cancelling duplicate jobs
This commit will force running jobs of a given PR to be cancelled once
the same branch is updated, avoiding the CI wasting time testing
outdated content.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-20 09:20:30 -03:00
David Brown fe0bfcfba9 Migrate master->main
Change references in CI and docs from 'master' to 'main' as the primary
branch has been renamed.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-05-14 14:56:39 -06:00
Fabio Utzig d2122bccc5 ci: fix signed-off-by checks in master
Only check signed commits for PRs.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-12 16:42:58 -03:00
Fabio Utzig 6dd29072dc ci: run sim and mynewt also on master branch
Sim and Mynewt workflows were only running on pull requests, while they
should also run when new commits are pushed to master.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-12 13:20:56 -03:00
Fabio Utzig 0be390e08e ci: update workflows names and add more badges
Fix workflows names on yaml root to be able to use them to refer to the
workflow. Add badges for pypi, workflows and license.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-12 12:39:03 -03:00
Fabio Utzig af48fcea16 ci: re-enable signed-off-by check on workflows
Enable commit signed-off-by check like previously done on Travis-CI.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-29 16:22:58 -03:00
Fabio Utzig 61a6132cfa ci: mynewt: remove non-required features
Mynewt testing does not need git submodule so avoid cloning them. Remove
MULTI_FEATURE environment variable only used by sim.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-26 07:47:17 -03:00
Fabio Utzig 78a9fd2a40 workflows: run on PR only
Remove option to run on push because it is triggering two runs for each
test for all PRs.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-26 07:47:17 -03:00
David Brown 5e3b066e0a github: Add workflow to test mynewt builds
This reproduces the CI test build for Mynewt that is currently run by
Travis.

Signed-off-by: David Brown <david.brown@linaro.org>
2020-09-25 09:13:30 -03:00