Skip to content

Commit

Permalink
Merge pull request #283 from php-school/actions-on-all-branches
Browse files Browse the repository at this point in the history
Run actions on all branches/prs
  • Loading branch information
AydinHassan authored May 5, 2024
2 parents a0c3359 + ec5dadc commit fb82157
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/php-workshop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: PhpWorkshop

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion test/Process/DockerProcessFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testCreateWithArgs(): void

$process = $factory->create($input);
$cmd = "'/usr/local/bin/docker' 'compose' '-p' 'php8appreciate' '-f' '.docker/runtime/docker-compose.yml'";
$cmd .= "'run' '--rm' '-w' '/solution' 'runtime' 'php' 'one' 'two'";
$cmd .= " 'run' '--rm' '-w' '/solution' 'runtime' 'php' 'one' 'two'";
static::assertSame($cmd, $process->getCommandLine());
static::assertSame('/docker-dir', $process->getWorkingDirectory());
}
Expand Down

0 comments on commit fb82157

Please sign in to comment.