Joel Spadin
e1a925ff83
refactor(test): Run tests with pytest
...
Replaced the run-test.sh script with a Python script that runs our unit
tests through pytest. Tests are now run in parallel to speed up running
the entire test suite, and it allows for integration with other tools
that support pytest, such as IDEs.
Also removed a dependency on remarshal, because it depends on an old
version of PyYAML that conflicts with other Python packages in our
Docker image. Replaced it with yq.
2023-01-26 13:12:25 -06:00
dependabot[bot]
f59da74a3e
chore(deps): bump actions/checkout from 2 to 3.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 22:49:54 -05:00
innovaker
0b39bf4336
ci: remove 4-
prefix from zephyr-modules cache keys
...
This is no longer required.
2022-09-28 04:08:43 +01:00
dependabot[bot]
9e39585f85
chore(deps): bump actions/cache from 3.0.1 to 3.0.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-18 01:21:45 -04:00
Peter Johanson
3eb3548a00
refactor(tests): Use GH Actions matrix for tests.
...
* To parallelize our tests, generate a dynamic matrix
of tests to run.
2022-04-04 23:36:51 -04:00
Peter Johanson
94ac100b6b
refactor: Move to Zephyr v3.0.0 + ZMK fixes.
2022-04-03 00:10:29 -04:00
Peter Johanson
5cc7c280a5
refactor: Move to explicit docker.io/* image references.
...
* Some runtimes (e.g. podman), require explicit registries in image URLs
or will prompt for the user to select one, which breaks things like
VSCode remote container rebuilds.
2021-10-23 15:33:42 -04:00
innovaker
5542c105ed
ci: bump zmk-build-arm
to 2.5
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
78acd7610e
ci: improve step names
...
Improves readability and informativeness.
PR: #515
2020-12-17 16:44:11 -05:00
innovaker
f3502dbcb5
ci: remove unnecessary comments
2020-12-14 22:56:29 -05:00
innovaker
6fa0f8f060
ci: remove zephyr.base-prefer configfile
...
CI builds successfully without this step.
PR: #498
2020-12-14 22:54:55 -05:00
innovaker
0515a482fe
ci: upgrade to zmk-build-arm:2.4
...
PR: #467
2020-12-14 12:41:25 -05:00
innovaker
a4652fa25d
ci: add 4-
prefix to cache keys for v2.4.0 upgrade
...
A hack to invalidate GitHub actions/cache in CI builds/tests for the v2.4.0 upgrade.
PR: #467
2020-12-14 12:41:25 -05:00
innovaker
f9e74110ab
ci: migrate workflows to zmk-docker
...
Leverages the new zmk-build-arm Docker image published by the zmk-docker project. Reduces build times, enhances DevOps capabilities, and tightly couples CI build container with the dev container.
PR: #481
2020-12-10 14:01:59 -05:00
innovaker
fe010c7b6d
refactor(workflows): add 3-
prefix to cache keys
...
A hack to invalidate GitHub actions/cache in CI builds/tests.
Activates benefits of 90123caa4c
.
Should be reverted after 2 weeks.
PR: #442
2020-12-01 00:32:02 -05:00
innovaker
7babe7f185
refactor(workflows): align GitHub workflow conventions
...
Cosmetic pass at aligning the conventions used in ZMK's workflows with GitHub's examples. Based on examples found at:
https://github.com/actions/starter-workflows
PR #433
2020-11-28 17:00:37 -05:00
innovaker
e6d863c610
build(workflows): add each workflow to its own trigger conditions
...
For each workflow, add its path to its own trigger conditions so that it automatically re-triggers for testing purposes whenever it is changed.
PR: #443
2020-11-28 16:59:38 -05:00
innovaker
27d036b9d5
refactor(workflows): remove 2-
prefix from cache keys
...
Removes obsolete cache invalidation hack.
Ref: 064323b667
PR: #434
2020-11-28 00:03:33 -05:00
Okke Formsma
c067629c83
Create west test
command to run zmk testsuite.
2020-11-21 14:47:01 -05:00
Pete Johanson
0559ec9013
fix(ci): Only run tests if app/{src,tests} changes
2020-09-04 23:58:31 -04:00
Pete Johanson
d2f4f00f69
feat(test): Add GH Action for tests.
2020-08-29 21:57:04 -04:00