Re: Allow CI to only run the compiler warnings task - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: Allow CI to only run the compiler warnings task
Date
Msg-id CAN55FZ1fT4TaymwgK3jQ+cBZHnD1YoZYO6dz0m_WevNVCdr7_Q@mail.gmail.com
Whole thread Raw
Responses Re: Allow CI to only run the compiler warnings task
List pgsql-hackers
Hi,

On Wed, 11 Sept 2024 at 15:36, Bertrand Drouvot
<bertranddrouvot.pg@gmail.com> wrote:
>
> Hi hackers,
>
> While working on a new pg_logicalinspect module ([1]), I reached a point where
> all the CI tests were green except the compiler warnings one. Then, to save time
> addressing the issue, I modified the .cirrus.tasks.yml file to $SUBJECT.
>
> I think this could be useful for others too, so please find attached this tiny
> patch.

+1 for this. I encountered the same issue before.

> Note that the patch does not add an extra "ci-task-only", but for simplicity it
> it renames ci-os-only to ci-task-only.

I think this change makes sense. I gave a quick try to your patch with
ci-task-only: ["", "linux", "compilerwarnings"] and it worked as
expected.

--
Regards,
Nazir Bilal Yavuz
Microsoft



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
Next
From: Tom Lane
Date:
Subject: Re: Test improvements and minor code fixes for formatting.c.