Skip to content

Commit 82bc0f7

Browse files
Merge branch '6.x' into 7.x
2 parents d20d72d + 38b0ccd commit 82bc0f7

File tree

6 files changed

+241
-183
lines changed

6 files changed

+241
-183
lines changed

.github/workflows/tests.yml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- cron: '0 0 * * *'
88

99
jobs:
10-
tests:
10+
linux_tests:
1111

1212
runs-on: ubuntu-latest
1313
services:
@@ -60,3 +60,44 @@ jobs:
6060
env:
6161
DB_PORT: ${{ job.services.mysql.ports[3306] }}
6262
DB_USERNAME: root
63+
64+
windows_tests:
65+
66+
runs-on: windows-latest
67+
strategy:
68+
fail-fast: true
69+
matrix:
70+
php: [7.2, 7.3, 7.4]
71+
include:
72+
- php: 7.2
73+
stability: prefer-lowest
74+
- php: 7.3
75+
stability: prefer-stable
76+
- php: 7.4
77+
stability: prefer-stable
78+
79+
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - Windows
80+
81+
steps:
82+
- name: Checkout code
83+
uses: actions/checkout@v2
84+
85+
- name: Cache dependencies
86+
uses: actions/cache@v1
87+
with:
88+
path: ~/.composer/cache/files
89+
key: dependencies-php-${{ matrix.php }}-${{ matrix.stability }}-windows-composer-${{ hashFiles('composer.json') }}
90+
91+
- name: Setup PHP
92+
uses: shivammathur/setup-php@v2
93+
with:
94+
php-version: ${{ matrix.php }}
95+
extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, gd, pdo_mysql, fileinfo, ftp
96+
coverage: none
97+
ini-values: memory_limit=512M
98+
99+
- name: Install dependencies
100+
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
101+
102+
- name: Execute tests
103+
run: vendor/bin/phpunit --verbose

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"dragonmantank/cron-expression": "^2.0",
2424
"egulias/email-validator": "^2.1.10",
2525
"league/commonmark": "^1.3",
26-
"league/flysystem": "^1.0.8",
26+
"league/flysystem": "^1.0.34",
2727
"monolog/monolog": "^2.0",
2828
"nesbot/carbon": "^2.17",
2929
"opis/closure": "^3.1",

src/Illuminate/Filesystem/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"suggest": {
3333
"illuminate/http": "Required for handling uploaded files (^7.0)",
34-
"league/flysystem": "Required to use the Flysystem local and FTP drivers (^1.0).",
34+
"league/flysystem": "Required to use the Flysystem local and FTP drivers (^1.0.34).",
3535
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).",
3636
"league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).",
3737
"league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).",

0 commit comments

Comments
 (0)