Skip to content

Commit

Permalink
Fix small things in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
uuf6429 committed Jul 24, 2021
1 parent f227ab2 commit eeb7135
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -13,22 +13,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0']
php: [ '7.4', '8.0' ]

steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
coverage: xdebug2

- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Download dependencies
uses: ramsey/composer-install@v1
with:
composer-options: --no-interaction --prefer-dist --optimize-autoloader

- name: Run tests
run: ./vendor/bin/phpunit
run: ./vendor/bin/phpunit --coverage-clover coverage.xml

- name: Upload to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: bash <(curl -s https://codecov.io/bash)
7 changes: 4 additions & 3 deletions README.md
@@ -1,10 +1,11 @@
# State Engine / Machine (PHP)

[![CI](https://github.com/uuf6429/state-engine-php/actions/workflows/ci.yml/badge.svg)](https://github.com/uuf6429/state-engine-php/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/uuf6429/state-engine-php/branch/main/graph/badge.svg)](https://codecov.io/gh/uuf6429/state-engine-php)
[![Minimum PHP Version](https://img.shields.io/badge/php-%5E7.4%20%7C%20%5E8-8892BF.svg)](https://php.net/)
[![License](http://poser.pugx.org/uuf6429/state-engine/license)](https://packagist.org/packages/uuf6429/state-engine)
[![Latest Stable Version](http://poser.pugx.org/uuf6429/state-engine/v)](https://packagist.org/packages/uuf6429/state-engine)
[![Latest Unstable Version](http://poser.pugx.org/uuf6429/state-engine/v/unstable)](https://packagist.org/packages/uuf6429/state-engine)
[![License](https://poser.pugx.org/uuf6429/state-engine/license)](https://packagist.org/packages/uuf6429/state-engine)
[![Latest Stable Version](https://poser.pugx.org/uuf6429/state-engine/version)](https://packagist.org/packages/uuf6429/state-engine)
[![Latest Unstable Version](https://poser.pugx.org/uuf6429/state-engine/v/unstable)](https://packagist.org/packages/uuf6429/state-engine)

This library provides some interfaces and a basic implementation of a State Engine or State Machine.

Expand Down

0 comments on commit eeb7135

Please sign in to comment.