Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
ci.yml
001 name: "CI"
002
003 on:
004 pull_request:
005 push:
006 branches:
007 - '2.x'
008
009 env:
010 SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE: 1
011
012 permissions:
013 contents: read
014
015 jobs:
016 tests:
017 name: "PHP ${{ matrix.php-version }}"
018
019 runs-on: 'ubuntu-latest'
020
021 continue-on-error: ${{ matrix.experimental }}
022
023 strategy:
024 matrix:
025 php-version:
026 - '7.1.3'
027 - '7.2.5'
028 - '7.3'
029 - '7.4'
030 - '8.0'
031 - '8.1'
032 - '8.2'
033 experimental: [false]
034
035 steps:
036 - name: "Checkout code"
037 uses: actions/checkout@v4
038
039 - name: "Install PHP with extensions"
040 uses: shivammathur/setup-php@v2
041 with:
042 coverage: "none"
043 php-version: ${{ matrix.php-version }}
044 ini-values: memory_limit=-1
045
046 - name: "Add PHPUnit matcher"
047 run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
048
049 - run: composer install
050
051 - name: "Install PHPUnit"
052 run: vendor/bin/simple-phpunit install
053
054 - name: "PHPUnit version"
055 run: vendor/bin/simple-phpunit --version
056
057 - name: "Run tests"
058 run: vendor/bin/simple-phpunit
059
060 extension-tests:
061 needs:
062 - 'tests'
063
064 name: "${{ matrix.extension }} with PHP ${{ matrix.php-version }}"
065
066 runs-on: 'ubuntu-latest'
067
068 continue-on-error: true
069
070 strategy:
071 matrix:
072 php-version:
073 - '7.2.5'
074 - '7.3'
075 - '7.4'
076 - '8.0'
077 - '8.1'
078 - '8.2'
079 extension:
080 - 'extra/cssinliner-extra'
081 - 'extra/html-extra'
082 - 'extra/inky-extra'
083 - 'extra/intl-extra'
084 - 'extra/markdown-extra'
085 - 'extra/string-extra'
086 - 'extra/twig-extra-bundle'
087 experimental: [false]
088
089 steps:
090 - name: "Checkout code"
091 uses: actions/checkout@v4
092
093 - name: "Install PHP with extensions"
094 uses: shivammathur/setup-php@v2
095 with:
096 coverage: "none"
097 php-version: ${{ matrix.php-version }}
098 ini-values: memory_limit=-1
099
100 - name: "Add PHPUnit matcher"
101 run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
102
103 - run: composer install
104
105 - name: "Install PHPUnit"
106 run: vendor/bin/simple-phpunit install
107
108 - name: "PHPUnit version"
109 run: vendor/bin/simple-phpunit --version
110
111 - name: "Composer install"
112 working-directory: ${{ matrix.extension}}
113 run: composer install
114
115 - name: "Run tests"
116 working-directory: ${{ matrix.extension}}
117 run: ../../vendor/bin/simple-phpunit
118
119 integration-tests:
120 needs:
121 - 'tests'
122
123 name: "Integration tests with PHP ${{ matrix.php-version }}"
124
125 runs-on: 'ubuntu-20.04'
126
127 continue-on-error: true
128
129 strategy:
130 matrix:
131 php-version:
132 - '8.2'
133
134 steps:
135 - name: "Checkout code"
136 uses: actions/checkout@v4
137
138 - name: "Install PHP with extensions"
139 uses: shivammathur/setup-php@v2
140 with:
141 coverage: "none"
142 extensions: "gd, pdo_sqlite"
143 php-version: ${{ matrix.php-version }}
144 ini-values: memory_limit=-1
145 tools: composer:v2
146