Skip to content

Commit

Permalink
Is this flag working?
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Jan 25, 2024
1 parent a190fbc commit a06de21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ jobs:
- name: PHPUnit Version
run: vendor/bin/simple-phpunit --version

- name: Run Tests
run: vendor/bin/simple-phpunit ${{ env.PHPUNIT_FLAGS }}
- name: Are the flags working
run: vendor/bin/simple-phpunit --filter MakeFunctionalTestTest -v
# - name: Run Tests
# run: vendor/bin/simple-phpunit ${{ env.PHPUNIT_FLAGS }}

# coding-standards:
# name: "Coding Standards (${{ matrix.php-version }})"
Expand Down
2 changes: 2 additions & 0 deletions tests/Maker/MakeFunctionalTestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public function getTestDetails()
{
yield 'it_generates_test_with_panther' => [$this->createMakerTest()
->preRun(function () {
dump($_SERVER['MAKER_SKIP_PANTHER_TEST']);

if ($_SERVER['MAKER_SKIP_PANTHER_TEST'] ?? false) {
$this->markTestSkipped('Panther test skipped - MAKER_SKIP_PANTHER_TEST set to TRUE.');
}
Expand Down

0 comments on commit a06de21

Please sign in to comment.