[WIP] Add some test in CI to check that the code is clean #86

Draft
mtrossevin wants to merge 4 commits from ci-enablement into unstable
Owner
No description provided.
mtrossevin added 2 commits 2023-11-13 15:28:03 +01:00
Initialise CI with PHPStan level 0
All checks were successful
Tests / PHPStan (static analysis) <sub>Send us [feedback](https://github.com/jenkinsci/junit-plugin/issues)
gitea/evoadmin-web/pipeline/head This commit looks good
293ea73b6b
Replace isset($_POST) with !empty($_POST)
All checks were successful
Tests / PHPStan (static analysis) <sub>Send us [feedback](https://github.com/jenkinsci/junit-plugin/issues)
gitea/evoadmin-web/pipeline/head This commit looks good
af94efde45
The former is always true (outside of post method it is an empty array
and not null, and it cannot be `unset()`).

The check was as such either meaningless or was supposed to check that
something was sent. This commit assume the later.
mtrossevin added 1 commit 2023-11-15 10:59:01 +01:00
Attempt to enable use of more than one agent
All checks were successful
Tests / PHPStan (static analysis) <sub>Send us [feedback](https://github.com/jenkinsci/junit-plugin/issues)
gitea/evoadmin-web/pipeline/pr-master This commit looks good
7b29422730
Primarily so that we could use shellcheck in the future on top of
PHPStan.
mtrossevin changed title from [WIP] Add some test in CI to check that the code is clean to [WIP] Add some test in CI to check that the code is clean 2023-11-16 11:06:52 +01:00
mtrossevin changed target branch from master to unstable 2023-11-16 11:06:53 +01:00
mtrossevin added 1 commit 2023-11-16 11:07:03 +01:00
mtrossevin added the
Feature
label 2023-11-17 14:43:19 +01:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ci-enablement:ci-enablement
git checkout ci-enablement

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout unstable
git merge --no-ff ci-enablement
git checkout ci-enablement
git rebase unstable
git checkout unstable
git merge --ff-only ci-enablement
git checkout ci-enablement
git rebase unstable
git checkout unstable
git merge --no-ff ci-enablement
git checkout unstable
git merge --squash ci-enablement
git checkout unstable
git merge --ff-only ci-enablement
git checkout unstable
git merge ci-enablement
git push origin unstable
Sign in to join this conversation.
No description provided.