Skip to content

Commit

Permalink
Merge pull request #90 from vitorbrandao/GH-78-github-tests-workflow-…
Browse files Browse the repository at this point in the history
…badge

GH-78 Add GitHub Tests workflow badge
  • Loading branch information
vitorbrandao committed Nov 3, 2021
2 parents 38a94c2 + cfbec4f commit 82d6706
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/unit-tests.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Unit Tests
name: Tests

on:
push:
pull_request:

jobs:
unit-tests:
name: Unit Tests
name: Unit and Functional Tests
runs-on: ubuntu-latest

env:
Expand Down Expand Up @@ -48,5 +48,8 @@ jobs:
- name: Composer install
run: composer install --no-interaction --no-progress --prefer-dist --verbose

- name: PHPUnit tests
run: phpunit --coverage-text
- name: PHPUnit Unit tests
run: phpunit --testsuit=unit --coverage-text

- name: PHPUnit Functional tests
run: phpunit --testsuit=unit --coverage-text
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ SmartyBundle

This [Symfony](http://symfony.com/) bundle provides integration for the [Smarty3](http://www.smarty.net/) template engine.

[![Total Downloads](https://poser.pugx.org/noiselabs/smarty-bundle/downloads.png)](https://packagist.org/packages/noiselabs/smarty-bundle)
[![Latest Stable Version](https://poser.pugx.org/noiselabs/smarty-bundle/v/stable.png)](https://packagist.org/packages/noiselabs/smarty-bundle)
[![Latest Unstable Version](https://poser.pugx.org/noiselabs/smarty-bundle/v/unstable.png)](https://packagist.org/packages/noiselabs/smarty-bundle)
![Tests](https://github.com/noiselabs/SmartyBundle/actions/workflows/tests.yml/badge.svg)
[![Total Downloads](https://poser.pugx.org/noiselabs/smarty-bundle/downloads.png)](https://packagist.org/packages/noiselabs/smarty-bundle)
[![License](https://poser.pugx.org/noiselabs/smarty-bundle/license.png)](https://packagist.org/packages/noiselabs/smarty-bundle)

See this compatibility chart to find out which version of the SmartyBundle you need depending on your version of Symfony.
Expand Down

0 comments on commit 82d6706

Please sign in to comment.