Skip to content

Commit e015891

Browse files
committed
add coverage
1 parent 77d3e4a commit e015891

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
matrix:
1010
operating-system: [ubuntu-latest]
1111
php-versions:
12-
# - '5.4'
13-
# - '5.5'
14-
# - '5.6'
15-
# - '7.0'
16-
# - '7.1'
17-
# - '7.2'
18-
# - '7.3'
12+
- '5.4'
13+
- '5.5'
14+
- '5.6'
15+
- '7.0'
16+
- '7.1'
17+
- '7.2'
18+
- '7.3'
1919
- '7.4'
2020
include:
2121
- php-versions: '5.3'
@@ -49,8 +49,3 @@ jobs:
4949
run: vendor/bin/simple-phpunit --coverage-clover coverage.xml
5050
- name: Upload coverage to Codecov
5151
uses: codecov/codecov-action@v1
52-
# - name: Run mutation tests
53-
# if: ${{ matrix.php-versions < 8.0 }}
54-
# env:
55-
# STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
56-
# run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=100 --min-msi=100 -s -j4

tests/PluginTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ public function testPlugin()
2222
$plugin->getCapabilities()
2323
);
2424
$this->assertEquals(array($command), $plugin->getCommands());
25+
$plugin->deactivate($composer, $io);
26+
$plugin->uninstall($composer, $io);
2527
}
2628
}

0 commit comments

Comments
 (0)