Skip to content

Commit

Permalink
add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed Jun 24, 2020
1 parent 77d3e4a commit e015891
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
matrix:
operating-system: [ubuntu-latest]
php-versions:
# - '5.4'
# - '5.5'
# - '5.6'
# - '7.0'
# - '7.1'
# - '7.2'
# - '7.3'
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
include:
- php-versions: '5.3'
Expand Down Expand Up @@ -49,8 +49,3 @@ jobs:
run: vendor/bin/simple-phpunit --coverage-clover coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
# - name: Run mutation tests
# if: ${{ matrix.php-versions < 8.0 }}
# env:
# STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
# run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=100 --min-msi=100 -s -j4
2 changes: 2 additions & 0 deletions tests/PluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ public function testPlugin()
$plugin->getCapabilities()
);
$this->assertEquals(array($command), $plugin->getCommands());
$plugin->deactivate($composer, $io);
$plugin->uninstall($composer, $io);
}
}

0 comments on commit e015891

Please sign in to comment.