8000 [CI] Remove macOS jobs · symfony/symfony@39064fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 39064fe

Browse files
[CI] Remove macOS jobs
1 parent 0f96dd0 commit 39064fe

File tree

6 files changed

+4
-32
lines changed

6 files changed

+4
-32
lines changed

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,16 @@ jobs:
2020
matrix:
2121
include:
2222
- php: '7.2'
23-
os: ubuntu-20.04
2423
- php: '7.4'
25-
os: ubuntu-20.04
26-
- php: '8.0'
27-
os: macos-11
2824
- php: '8.0'
2925
mode: high-deps
30-
os: ubuntu-20.04
3126
- php: '8.1'
3227
mode: low-deps
33-
os: ubuntu-20.04
3428
- php: '8.2'
3529
mode: experimental
36-
os: ubuntu-20.04
3730
fail-fast: false
3831

39-
runs-on: "${{ matrix.os }}"
32+
runs-on: ubuntu-20.04
4033

4134
steps:
4235
- name: Checkout
@@ -58,11 +51,6 @@ jobs:
5851
extensions: "${{ env.extensions }}"
5952
tools: flex
6053

61-
- name: Install Homebrew packages
62-
if: "matrix.os == 'macos-11'"
63-
run: |
64-
brew install parallel
65-
6654
- name: Configure environment
6755
run: |
6856
git config --global user.email ""
@@ -74,7 +62,7 @@ jobs:
7462
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"
7563
7664
echo COLUMNS=120 >> $GITHUB_ENV
77-
echo PHPUNIT="$(pwd)/phpunit --exclude-group tty,benchmark,intl-data$([[ ${{ matrix.os }} = macos* ]] && echo ',transient-on-macos')" >> $GITHUB_ENV
65+
echo PHPUNIT="$(pwd)/phpunit --exclude-group tty,benchmark,intl-data" >> $GITHUB_ENV
7866
echo COMPOSER_UP='composer update --no-progress --ansi' >> $GITHUB_ENV
7967
8068
SYMFONY_VERSIONS=$(git ls-remote -q --heads | cut -f2 | grep -o '/[1-9][0-9]*\.[0-9].*' | sort -V)
@@ -148,7 +136,7 @@ jobs:
148136
echo "::endgroup::"
149137
150138
- name: Patch return types
151-
if: "matrix.php == '8.1' && ! matrix.mode && matrix.os != 'macos-11'"
139+
if: "matrix.php == '8.1' && ! matrix.mode"
152140
run: |
153141
sed -i 's/"\*\*\/Tests\/"//' composer.json
154142
composer install -q --optimize-autoloader
@@ -222,7 +210,7 @@ jobs:
222210
[[ ! $X ]] || (exit 1)
223211
224212
- name: Run tests with SIGCHLD enabled PHP
225-
if: "matrix.php == '7.2' && ! matrix.mode && matrix.os != 'macos-11'"
213+
if: "matrix.php == '7.2' && ! matrix.mode"
226214
run: |
227215
mkdir build
228216
cd build

src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919

2020
abstract class HttpClientTestCase extends BaseHttpClientTestCase
2121
{
22-
/**
23-
* @group transient-on-macos
24-
*/
2522
public function testTimeoutOnDestruct()
2623
{
2724
if (!method_exists(parent::class, 'testTimeoutOnDestruct')) {

src/Symfony/Component/Messenger/Tests/Transport/Doctrine/DoctrineIntegrationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
/**
2323
* @requires extension pdo_sqlite
24-
* @group transient-on-macos
2524
*/
2625
class DoctrineIntegrationTest extends TestCase
2726
{

src/Symfony/Component/VarDumper/Tests/Dumper/ServerDumperTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ public function testDumpForwardsToWrappedDumperWhenServerIsUnavailable()
3737
$dumper->dump($data);
3838
}
3939

40-
/**
41-
* @group transient-on-macos
42-
*/
4340
public function testDump()
4441
{
4542
$wrappedDumper = $this->createMock(DataDumperInterface::class);

src/Symfony/Component/VarDumper/Tests/Server/ConnectionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ class ConnectionTest extends TestCase
2222
{
2323
private const VAR_DUMPER_SERVER = 'tcp://127.0.0.1:9913';
2424

25-
/**
26-
* @group transient-on-macos
27-
*/
2825
public function testDump()
2926
{
3027
$cloner = new VarCloner();

src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,6 @@ public function testTimeoutWithActiveConcurrentStream()
810810
}
811811
}
812812

813-
/**
814-
* @group transient-on-macos
815-
*/
816813
public function testTimeoutOnInitialize()
817814
{
818815
$p1 = TestHttpServer::start(8067);
@@ -846,9 +843,6 @@ public function testTimeoutOnInitialize()
846843
}
847844
}
848845

849-
/**
850-
* @group transient-on-macos
851-
*/
852846
public function testTimeoutOnDestruct()
853847
{
854848
$p1 = TestHttpServer::start(8067);

0 commit comments

Comments
 (0)
0