mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2026-03-14 20:55:51 +01:00
show workflow badges
This commit is contained in:
parent
69862cc6f6
commit
86433a9433
4 changed files with 22 additions and 6 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -7,8 +7,15 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: php-actions/composer@v5 # or alternative dependency management
|
||||
- uses: php-actions/phpunit@v9
|
||||
# ... then your own project steps ...
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: php-actions/composer@v5
|
||||
|
||||
- name: PHPUnit Tests
|
||||
uses: php-actions/phpunit@v2
|
||||
env:
|
||||
TEST_NAME: PHPUNIT
|
||||
with:
|
||||
bootstrap: vendor/autoload.php
|
||||
configuration: phpunit.xml
|
||||
args: --coverage-text
|
||||
|
|
|
|||
4
.github/workflows/php.yml
vendored
4
.github/workflows/php.yml
vendored
|
|
@ -32,5 +32,5 @@ jobs:
|
|||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
||||
# Docs: https://getcomposer.org/doc/articles/scripts.md
|
||||
|
||||
# - name: Run test suite
|
||||
# run: composer run-script test
|
||||
- name: Run test suite
|
||||
run: composer run-script test
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@ Provide markdown conversion (based on [Michel Fortin work](https://github.com/mi
|
|||
|
||||
[](http://travis-ci.org/KnpLabs/KnpMarkdownBundle)
|
||||
|
||||

|
||||

|
||||
|
||||
## INSTALLATION
|
||||
|
||||
Add KnpMarkdownBundle to your project via [Composer](https://getcomposer.org/):
|
||||
|
|
|
|||
|
|
@ -38,6 +38,12 @@
|
|||
}
|
||||
},
|
||||
|
||||
"scripts": {
|
||||
"test": [
|
||||
"php ./vendor/bin/phpunit"
|
||||
]
|
||||
},
|
||||
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Knp\\Bundle\\MarkdownBundle\\Tests\\": "tests/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue