Project

General

Profile

Actions

Patch #42135

closed

Enable GitHub Actions for testing and linting on stable branches

Added by Katsuya HIDAKA 2 months ago. Updated 24 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
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 mirroringClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF