Skip to content

Commit

Permalink
updated:
Browse files Browse the repository at this point in the history
create some files to support CI.
  • Loading branch information
chaz6chez committed Aug 10, 2022
1 parent 0be1bdd commit 3a29eb6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
PHPUnit:
name: PHPUnit (PHP ${{ matrix.php }})
runs-on: ubuntu-18.04
strategy:
matrix:
php:
- 8.1
- 8.0
- 7.4
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: sqlite3
tools: phpunit:9.5, composer:v2
coverage: none
- run: composer install
- run: vendor/bin/phpunit tests/
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@

**<p align='center'>🐇 A lightweight storage for PHP based on sqlite3 🐇</p>**

[![Latest Stable Version](http://poser.pugx.org/workbunny/storage/v)](https://packagist.org/packages/workbunny/storage) [![Total Downloads](http://poser.pugx.org/workbunny/storage/downloads)](https://packagist.org/packages/workbunny/storage) [![Latest Unstable Version](http://poser.pugx.org/workbunny/storage/v/unstable)](https://packagist.org/packages/workbunny/storage) [![License](http://poser.pugx.org/workbunny/storage/license)](https://packagist.org/packages/workbunny/storage) [![PHP Version Require](http://poser.pugx.org/workbunny/storage/require/php)](https://packagist.org/packages/workbunny/storage)
<div align="center">
<a href="https://github.com/workbunny/storage/actions">
<img src="https://github.com/workbunny/storage/actions/workflows/CI.yml/badge.svg" alt="Build Status">
</a>
<a href="https://github.com/workbunny/storage/blob/main/composer.json">
<img alt="PHP Version Require" src="http://poser.pugx.org/workbunny/storage/require/php">
</a>
<a href="https://github.com/workbunny/storage/blob/main/LICENSE">
<img alt="GitHub license" src="http://poser.pugx.org/workbunny/storage/license">
</a>

</div>

# 说明

Expand Down

0 comments on commit 3a29eb6

Please sign in to comment.