Skip to content

Commit e771cd1

Browse files
committed
Removed released site action, and testing for PHP8
1 parent 2833c2c commit e771cd1

3 files changed

Lines changed: 2 additions & 136 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
workflow_dispatch:
1919
push:
2020
# only run for branches, not tags
21-
branches-ignore: php8
21+
branches: ['**']
2222
pull_request:
2323

2424
jobs:
@@ -108,76 +108,3 @@ jobs:
108108
run: |
109109
echo '{}' | jq '.http.upload.skip |= false | .http.upload.httpBinUrl |= "http://localhost:8080"' > tests/config.json
110110
vendor/bin/phpunit tests
111-
112-
test-php8:
113-
runs-on: ubuntu-latest
114-
strategy:
115-
matrix:
116-
php: [8.0, 8.1, 8.2, 8.3, 8.4, 8.5]
117-
fail-fast: false
118-
steps:
119-
- uses: actions/checkout@v6
120-
with:
121-
persist-credentials: false
122-
fetch-depth: 0
123-
- name: Rebase PHP8 branch
124-
env:
125-
USER_EMAIL: ${{ github.event.pusher.email }}
126-
USER_NAME: ${{ github.event.pusher.name }}
127-
REBASE_TARGET: ${{ github.head_ref || github.ref_name }}
128-
run: |
129-
git config user.email "$USER_EMAIL"
130-
git config user.name "$USER_NAME"
131-
git pull
132-
git checkout php8
133-
git rebase "$REBASE_TARGET" php8
134-
git status
135-
echo 'diff origin/php8:'
136-
git diff origin/php8
137-
echo 'diff current:'
138-
git diff "$REBASE_TARGET"
139-
- uses: shivammathur/setup-php@v2
140-
with:
141-
php-version: ${{matrix.php}}
142-
coverage: xdebug
143-
- name: Cache Composer packages
144-
id: composer-cache
145-
uses: actions/cache@v4
146-
with:
147-
path: vendor
148-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
149-
restore-keys: |
150-
${{ runner.os }}-php8-
151-
- name: Install dependencies
152-
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
153-
- name: PHP Unit
154-
run: |
155-
echo '{}' | jq '.http.upload.skip |= true' > tests/config.json
156-
vendor/bin/phpunit tests
157-
158-
rebase-php8:
159-
runs-on: ubuntu-latest
160-
needs: test-php8
161-
if: github.ref_name == 'master'
162-
permissions:
163-
contents: write
164-
steps:
165-
- uses: actions/checkout@v6
166-
with:
167-
ref: php8
168-
fetch-depth: 0
169-
- name: Rebase PHP8 branch
170-
env:
171-
USER_EMAIL: ${{ github.event.pusher.email }}
172-
USER_NAME: ${{ github.event.pusher.name }}
173-
run: |
174-
git config user.email "$USER_EMAIL"
175-
git config user.name "$USER_NAME"
176-
git pull
177-
git rebase origin/master php8
178-
git status
179-
echo 'diff origin/php8:'
180-
git diff origin/php8
181-
echo 'diff master:'
182-
git diff origin/master
183-
git push --force-with-lease

.github/workflows/release-site.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
workflow_dispatch:
1919
push:
2020
# only run for branches, not tags
21-
branches-ignore: php8
21+
branches: ['**']
2222
pull_request:
2323
schedule:
2424
- cron: '0 6 27 4,10 *'

0 commit comments

Comments
 (0)