Project

General

Profile

Actions

Patch #42135

open

Enable GitHub Actions for testing and linting on stable branches

Added by Katsuya HIDAKA 2 days ago. Updated about 13 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

Related to Redmine - Feature #30069: Use GitHub Actions as a secondary CI solution to run tests through the existing mirroringNewMarius BÄ‚LTEANU

Actions
Actions

Also available in: Atom PDF