summaryrefslogtreecommitdiffstats
path: root/.github (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test: Fix saving artifactsMariusz Tkaczyk2024-12-022-0/+24
| | | | | | | | | | | Currently, if error is returned by test command, execution of other steps is aborted. In that case, continue-on-error safe artifact but return error later and fail the job. If executions passed, there are no artifacts to safe, therefore do not safe them. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
* CI: run mdadm tests on test scripts changeKinga Stefaniuk2024-11-221-0/+2
| | | | | | Run mdadm tests scope on every change related to test files. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: assign ret to numeric valueKinga Stefaniuk2024-11-181-1/+2
| | | | | | | Use variable to store tests exit status. Return its value when test script finished. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: use self-hosted runner to run testsKinga Stefaniuk2024-11-142-0/+68
| | | | | | Use prepared VM machine in GitHub actions to run mdadm tests on it. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: do not install unnecessary packagesKinga Stefaniuk2024-09-261-2/+2
| | | | | | | Updating all of the packages every time is not needed and costs a lot of resources. Install only necessary packages and their dependencies. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: add new gcc 14Kinga Stefaniuk2024-08-061-7/+11
| | | | | | | | | Add new released gcc to compilation test during GH action. Change runner to Ubuntu 24.04 which supports gcc versions up to 14. Previously ubuntu-latest was used (22.04) which didn't support gcc 13 and 14. Add verification if correct gcc was installed during test. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* review.yml: fix typo in DEBIAN compiler flagKinga Stefaniuk2024-07-301-1/+1
| | | | | | Fix typo in -DEBIAN flag in review.yml file. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: fetch all of the changes in repositoryKinga Stefaniuk2024-07-241-3/+1
| | | | | | | | GH action is using checkout plugin, which takes fetch-depth as a parameter to specify number of commits to fetch. Setting it to 0 to fetch all of the history of all branches and tags. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: use prepared checkpatch.conf file only for GH actionsKinga Stefaniuk2024-07-022-0/+12
| | | | | | | | | | Configuration file .checkpatch.conf is working properly only with GH actions, because flags from GH plugin are used there. This file shall not be placed in main repo directory, because it causes errors while using checkpatch from Linux. Add step to review.yml to copy this file before checkpatch action is started. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
* CI: create review.yml fileKinga Stefaniuk2024-05-153-0/+59
Introduce review.yml used by GitHub actions. Add make probe, checkpatch and hardening-check on every pull request. Add dependabot.yml file which check for updates of actions used in this repository. This option enables to automatically fill new PR with action updated to the latest version. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>