mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 17:36:13 +01:00
tea/Documentation/ContinuousIntegration.rst
Łukasz Uznański 81340a28d0
[TASK] Update repository urls (#946)
Resolves: #895

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-10-08 21:53:41 +02:00

46 lines
1.6 KiB
ReStructuredText

.. include:: /Includes.rst.txt
.. _continuous-integration:
======================
Continuous integration
======================
As an example, this extension provides several ways to perform the code quality
checks and tests in a CI pipeline. You can copy the
appropriate configuration depending on which Git hosting service and CI
platform you want to use.
.. contents:: Table of Contents:
:backlinks: top
:class: compact-list
:depth: 2
:local:
.. _github-actions:
GitHub Actions
==============
This extension has two code-checking workflows for
`GitHub Actions <https://github.com/FriendsOfTYPO3/tea/actions>`__:
- `one that uses the local tools <https://github.com/FriendsOfTYPO3/tea/blob/main/.github/workflows/ci.yml>`__:
This is the workflow you most probably would want to use:
This workflow uses the development tools installed via Composer and PHIVE and
calls them using the provided Composer scripts. Use this workflow if you want
to run the code quality checks locally as well as in GitHub Actions.
- `one that completely relies on predefined actions <https://github.com/FriendsOfTYPO3/tea/blob/main/.github/workflows/predefined.yml>`__:
This workflow does not need the development tools to be installed locally.
Use this workflow if you only want to run the code quality checks in GitHub
Actions, but not locally.
.. _gitlab-ci:
GitLab CI
=========
This extension also provides
`configuration <https://github.com/FriendsOfTYPO3/tea/blob/main/.gitlab/pipeline/.gitlab-ci.yml>`__
for `GitLab CI <https://gitlab.typo3.org/qa/example-extension/-/pipelines>`__.