Patch #42135
openEnable GitHub Actions for testing and linting on stable branches
0%
Description
This patch enables GitHub Actions to run on stable branches, executing builds for testing and linting.
While GitHub Actions are currently executed for the master branch, they are not yet enabled for stable branches. In particular, running a complete build, including rubocop and stylelint, for the latest stable branch (6.0-stable) should help prevent mistakes like those in #42088 and contribute to the overall quality of Redmine.
This patch ensures that necessary builds are executed and succeed for the 6.0, 5.1, and 5.0 stable branches.
- Add GitHub Actions workflows for linting and testing
- Backport necessary fixes from trunk to ensure linting and testing succeed
The details of the builds for each branch are as follows:
Branch | [linters] Rubocop | [linters] Stylelint | [linters] Audit | [tests] Ruby versions |
---|---|---|---|---|
6.0-stable | Yes | Yes | Yes | 3.1, 3.2, 3.3 |
5.1-stable | Yes | Yes | No | 3.0, 3.1, 3.2 |
5.0-stable | Yes | Yes | No | 3.0, 3.1 |
The patches are separated by branch:
- Patches for the 6.0-stable branch: 000x-6.0-stable-*.patch
- Patches for the 5.1-stable branch: 000x-5.1-stable-*.patch
- Patches for the 5.0-stable branch: 000x-5.0-stable-*.patch
Files
Related issues
Updated by Katsuya HIDAKA 2 days ago
- File show-build-status-using-github-actions-results.png show-build-status-using-github-actions-results.png added
I have confirmed that the builds succeed on each branch.
https://github.com/hidakatsuya/redmine/actions
Additionally, by using the GitHub Actions build results, it will be possible to create a simple build status display like the following.
Displaying this on prominent pages like the top page of the redmine.org Overview or the Continuous_integration page will make it easy for anyone to track the build status.
Updated by Go MAEDA about 13 hours ago
- Target version set to Candidate for next minor release
Updated by Go MAEDA about 13 hours ago
- Related to Feature #30069: Use GitHub Actions as a secondary CI solution to run tests through the existing mirroring added