Skip to content

Commit

Permalink
Merge commit 'af631419369f300ab7da624a21388dfa327f27ee'
Browse files Browse the repository at this point in the history
* commit 'af631419369f300ab7da624a21388dfa327f27ee':
  Update README.md
  Create ci.yml
  • Loading branch information
battis committed Jan 30, 2023
2 parents 32ae3cd + af63141 commit 0ca1ac3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on: [push]

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Install composer and dependencies
uses: php-actions/composer@v6

- name: PHPUnit Tests
uses: php-actions/phpunit@v3
env:
XDEBUG_MODE: coverage
with:
bootstrap: vendor/autoload.php
configuration: phpunit.xml
php_extensions: xdebug
args: tests --coverage-clover ./coverage.xml

- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV }}
files: ./coverage.xml
verbose: true
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Battis\UserSession

[![Latest Version](https://img.shields.io/packagist/v/battis/user-session.svg)](https://packagist.org/packages/battis/user-session)
[![codecov](https://codecov.io/gh/battis/user-session/branch/main/graph/badge.svg)](https://codecov.io/gh/battis/user-session)

User session management for Slim Framework

## Installation
Expand Down

0 comments on commit 0ca1ac3

Please sign in to comment.