Skip to content

Commit

Permalink
refactor tests for mor stability, Galaxy was broken, vfs and process …
Browse files Browse the repository at this point in the history
…still broken
  • Loading branch information
maschmann committed Sep 11, 2024
1 parent 3dbebe2 commit 09980fd
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 330 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-cli
FROM php:8.3-cli

ENV ANSIBLE_VERSION 2.9.17

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
matrix:
php: [ "8.1", "8.2", "8.3", "8.4" ]
phpunit: [ "10", "11" ]
phpunit: [ "11" ]
include:
- phpunit: "10"
phpunit-config: "phpunit.xml.dist"
- phpunit: "11"
phpunit-config: "phpunit-11.xml.dist"
phpunit-config: "phpunit.xml.dist"

steps:
- name: Setup PHP
Expand Down
8 changes: 3 additions & 5 deletions Tests/Asm/Ansible/Command/AnsibleGalaxyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ public function testCreateInstance(): AnsibleGalaxyInterface
return $ansibleGalaxy;
}

/**
* @depends testCreateInstance
* @param AnsibleGalaxyInterface $command
*/
public function testExecute(AnsibleGalaxyInterface $command): void
public function testExecute(): void
{
$command = $this->testCreateInstance();

// Skipped on Windows
if (Env::isWindows()) {
$this->assertTrue(true);
Expand Down
Loading

0 comments on commit 09980fd

Please sign in to comment.