Skip to content

Commit 1f384a6

Browse files
committed
Removed Part-DB 8.1 runner on github
1 parent 883d38e commit 1f384a6

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/tests.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
branches:
1010
- '*'
1111
- "!l10n_*"
12-
12+
1313
jobs:
1414
phpunit:
1515
name: PHPUnit and coverage Test (PHP ${{ matrix.php-versions }}, ${{ matrix.db-type }})
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
php-versions: [ '8.1', '8.2', '8.3', '8.4' ]
21+
php-versions: ['8.2', '8.3', '8.4' ]
2222
db-type: [ 'mysql', 'sqlite', 'postgres' ]
2323

2424
env:
@@ -52,7 +52,7 @@ jobs:
5252
coverage: pcov
5353
ini-values: xdebug.max_nesting_level=1000
5454
extensions: mbstring, intl, gd, xsl, gmp, bcmath, :php-psr
55-
55+
5656
- name: Start MySQL
5757
run: sudo systemctl start mysql.service
5858
if: matrix.db-type == 'mysql'
@@ -71,9 +71,9 @@ jobs:
7171
# mysql version: 5.7
7272
# mysql database: 'part-db'
7373
# mysql root password: '1234'
74-
74+
7575
## Setup caches
76-
76+
7777
- name: Get Composer Cache Directory
7878
id: composer-cache
7979
run: |
@@ -83,8 +83,8 @@ jobs:
8383
path: ${{ steps.composer-cache.outputs.dir }}
8484
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
8585
restore-keys: |
86-
${{ runner.os }}-composer-
87-
86+
${{ runner.os }}-composer-
87+
8888
- name: Get yarn cache directory path
8989
id: yarn-cache-dir-path
9090
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -96,48 +96,48 @@ jobs:
9696
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
9797
restore-keys: |
9898
${{ runner.os }}-yarn-
99-
99+
100100
- name: Install composer dependencies
101101
run: composer install --prefer-dist --no-progress
102-
102+
103103
- name: Setup node
104104
uses: actions/setup-node@v4
105105
with:
106106
node-version: '18'
107-
107+
108108
- name: Install yarn dependencies
109109
run: yarn install
110-
110+
111111
- name: Build frontend
112112
run: yarn build
113-
113+
114114
- name: Create DB
115115
run: php bin/console --env test doctrine:database:create --if-not-exists -n
116116
if: matrix.db-type == 'mysql' || matrix.db-type == 'postgres'
117-
117+
118118
- name: Do migrations
119119
run: php bin/console --env test doctrine:migrations:migrate -n
120120

121121
# Use our own custom fixtures loading command to circumvent some problems with reset the autoincrement values
122122
- name: Load fixtures
123123
run: php bin/console --env test partdb:fixtures:load -n
124-
124+
125125
- name: Run PHPunit and generate coverage
126126
run: ./bin/phpunit --coverage-clover=coverage.xml
127-
127+
128128
- name: Upload coverage
129129
uses: codecov/codecov-action@v5
130130
with:
131131
env_vars: PHP_VERSION,DB_TYPE
132132
token: ${{ secrets.CODECOV_TOKEN }}
133133
fail_ci_if_error: true
134-
134+
135135
- name: Test app:clean-attachments
136136
run: php bin/console partdb:attachments:clean-unused -n
137-
137+
138138
- name: Test app:convert-bbcode
139139
run: php bin/console app:convert-bbcode -n
140-
140+
141141
- name: Test app:show-logs
142142
run: php bin/console app:show-logs -n
143143

0 commit comments

Comments
 (0)