Commit Graph

7 Commits

Author SHA1 Message Date
Denis Mingulov 12026047bd ci: add imgtool test to workflows
Add imgtool test call to workflows, use pytest and
publish artifacts with test results.

Also enable test run on 'pull_request', but limit
the previous default imgtool_run.sh run ('environment' job)
to run on 'push' event only (the same behaviour as before).

Signed-off-by: Denis Mingulov <denis@mingulov.com>
2024-05-23 14:39:17 +02:00
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 7bf5179101 ci: add caching for imgtool pip packages
Cache python dependencies for faster install and test times.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2021-02-12 09:28:47 -03:00
Fabio Utzig c1b2983be0 ci: allow imgtool publishing from release branches
Allow imgtool publishing to pypi.org when versions are update on the
release branches.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2021-01-13 16:53:07 -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 c06694e25c ci: move imgtool publishing to GH workflows
Disable imgtool publishing on Travis; update scripts to work on both
Travis and GH; add GH workflow for publishing.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-10 14:19:05 -03:00