Skip to content

Commit

Permalink
Cleanup readme and add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Jan 21, 2024
1 parent 89532f7 commit b309b0b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# OS: Linux; Symfony: latest stable; PHP: all the commonly used versions supported by this bundle
name: "Tests"

on:
pull_request:
push:
branches:
- 'main'

env:
fail-fast: true

jobs:
tests:
name: "PHP ${{ matrix.php-version }}"
runs-on: 'ubuntu-latest'
continue-on-error: false
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- name: 'Checkout code'
uses: actions/checkout@v3

- name: 'Install PHP with extensions'
uses: shivammathur/[email protected]
with:
coverage: none
php-version: ${{ matrix.php-version }}
tools: composer:v2
extensions: mbstring, intl
ini-values: date.timezone=UTC

- name: 'Install project dependencies'
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
composer update --no-interaction --prefer-dist --optimize-autoloader --prefer-stable
vendor/bin/simple-phpunit install
- name: 'Run tests'
env:
SYMFONY_DEPRECATIONS_HELPER: 'max[indirect]=10&max[total]=27'
run: vendor/bin/simple-phpunit -v
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ A lightweight lexical string parser for BBCode styled markup.

### Code Quality Assurance ###

| SLInsight | Travis CI | Gitter | Coverage | StyleCI |
| ----------|-----------|---------|----------|---------|
|[![SensioLabsInsight](https://insight.sensiolabs.com/projects/f355c58b-f9b6-482c-8d2d-d1bc8791c9e5/big.png)](https://insight.sensiolabs.com/projects/f355c58b-f9b6-482c-8d2d-d1bc8791c9e5) |[![Build Status](https://travis-ci.org/helios-ag/FMBbCodeBundle.png?branch=master)](https://travis-ci.org/helios-ag/FMBbCodeBundle)|[![Join the chat at https://gitter.im/helios-ag/FMBbCodeBundle](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/helios-ag/FMBbCodeBundle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)|[![Coverage Status](https://coveralls.io/repos/helios-ag/FMBbCodeBundle/badge.svg?branch=master&service=github)](https://coveralls.io/github/helios-ag/FMBbCodeBundle?branch=master)|[![StyleCI](https://styleci.io/repos/2714013/shield)](https://styleci.io/repos/2714013)|


| Deps Status | Version | Downloads |
| ----------|-----------|---------|
Expand Down

0 comments on commit b309b0b

Please sign in to comment.