Skip to content

Commit 086020e

Browse files
committed
修复测试
1 parent 14e4be7 commit 086020e

9 files changed

Lines changed: 12 additions & 103 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
ci:
1717
name: Linux Swoole-${{ matrix.swoole.version }} RoadRunner-${{ matrix.roadrunner }}
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
strategy:
2020
fail-fast: false
2121
matrix:
@@ -107,7 +107,7 @@ jobs:
107107

108108
ci-unix:
109109
name: Linux Swoole-${{ matrix.swoole.version }} RoadRunner-${{ matrix.roadrunner }} With Redis UnixSocket
110-
runs-on: ubuntu-20.04
110+
runs-on: ubuntu-latest
111111
strategy:
112112
fail-fast: false
113113
matrix:
@@ -186,7 +186,7 @@ jobs:
186186

187187
ci-swoole-cli:
188188
name: Swoole-cli-${{ matrix.swoole-cli }}
189-
runs-on: ubuntu-20.04
189+
runs-on: ubuntu-latest
190190
strategy:
191191
fail-fast: false
192192
matrix:

.github/workflows/codecov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ jobs:
160160
id: run-test-suite
161161
run: ./dev/test-coverage-actions.sh php $TEST_TYPE
162162
- name: Upload coverage file
163-
uses: actions/upload-artifact@v3
163+
uses: actions/upload-artifact@v4
164164
with:
165165
name: ${{ matrix.testType }}-coverage
166166
path: tests/coverage.php
167167
- name: Upload log files
168168
if: always()
169-
uses: actions/upload-artifact@v3
169+
uses: actions/upload-artifact@v4
170170
with:
171171
name: ${{ matrix.testType }}-logs
172172
path: |
@@ -217,7 +217,7 @@ jobs:
217217
token: ${{ secrets.CODECOV_TOKEN }}
218218
file: "./tests/coverage.xml"
219219
- name: Upload coverage reports to artifact
220-
uses: actions/upload-artifact@v3
220+
uses: actions/upload-artifact@v4
221221
with:
222222
name: coverage
223223
path: tests/coverage.xml

.github/workflows/daily-test.yml

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

.github/workflows/markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
tests:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4

.github/workflows/mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
gitee:
1212
if: github.repository == 'imiphp/imi' && (github.ref == 'refs/heads/2.1')
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- uses: ahmadnassri/action-workflow-queue@v1
1616
- name: Configure Private Key

.github/workflows/phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
tests:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-latest
1717
env:
1818
SWOOLE_DOCKER_VERSION: 4.8-php7.4
1919
POSTGRESQL_VERSION: v4.8.0

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
tests:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-latest
1717
strategy:
1818
fail-fast: false
1919
matrix:

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
tests:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-latest
1717
strategy:
1818
fail-fast: false
1919
matrix:

.github/workflows/split-repository.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
split-repository:
1212
if: github.repository == 'imiphp/imi'
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
env:
1515
GITHUB_REF: ${{ github.ref }}
1616
GITHUB_REPOSITORY: ${{ github.repository }}

0 commit comments

Comments
 (0)