-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from Potherca/develop
Release v0.3.0
- Loading branch information
Showing
19 changed files
with
963 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
build | ||
vendor | ||
/* Directories to ignore */ | ||
/build | ||
/vendor | ||
/tests/fixtures/integration-test-repository | ||
|
||
composer.lock | ||
phpunit.xml | ||
/* Files to ignore */ | ||
.env | ||
/composer.lock | ||
/phpunit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Flysystem Adapter for Github | ||
|
||
[![Latest Version](https://img.shields.io/github/release/potherca/flysystem-github.svg?style=flat-square)](https://github.com/potherca/flysystem-github/releases) | ||
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md) | ||
[![Build Status](https://img.shields.io/travis/potherca/flysystem-github.svg?style=flat-square)](https://travis-ci.org/potherca/flysystem-github) | ||
[![Coverage Status](https://coveralls.io/repos/potherca/flysystem-github/badge.svg)](https://coveralls.io/github/potherca/flysystem-github) | ||
[![Quality Score](https://img.shields.io/scrutinizer/g/potherca/flysystem-github.svg?style=flat-square)](https://scrutinizer-ci.com/g/potherca/flysystem-github) | ||
[![Total Downloads](https://img.shields.io/packagist/dt/potherca/flysystem-github.svg?style=flat-square)](https://packagist.org/packages/potherca/flysystem-github) | ||
[![Latest Version][Latest Version Badge]][Release Page] | ||
[![Software License][Software License Badge]][License file] | ||
[![Build Status][Build Status Badge]][Travis Page] | ||
[![Coverage Status][Coverage Status Badge]][Coveralls Page] | ||
[![Quality Score][Quality Score Badge]][Scrutinizer Page] | ||
[![Total Downloads][Total Downloads Badge]][Packagist Page] | ||
|
||
## Install | ||
|
||
|
@@ -89,26 +89,59 @@ $filesystem = new Filesystem($adapter); | |
|
||
## Testing | ||
|
||
The unit-tests can be run with the following command: | ||
|
||
``` bash | ||
$ composer test | ||
``` | ||
|
||
To run integration tests, which use the Github API, a [Github API token] might be needed (to stop the tests hitting the API Limit). | ||
An API key can be added by setting it in the environment as `GITHUB_API_KEY` or by creating an `.env` file in the integration tests directory and setting it there. | ||
See `tests/integration-tests/.env.example` for an example. | ||
|
||
To run the integration test, run the following command (this will also run the unit-tests): | ||
|
||
``` bash | ||
$ composer test-all | ||
``` | ||
|
||
## Security | ||
|
||
If you discover any security related issues, please email [email protected] instead of using the issue tracker. | ||
|
||
## Contributing | ||
|
||
Please see [CONTRIBUTING](CONTRIBUTING.md) for details. | ||
Please see [CONTRIBUTING] for details. | ||
|
||
## Change Log | ||
|
||
Please see [CHANGELOG](CHANGELOG.md) for details. | ||
Please see [CHANGELOG] for details. | ||
|
||
## Credits | ||
|
||
- [Potherca](https://github.com/potherca) | ||
- [Potherca] | ||
- [Contributors] | ||
|
||
## License | ||
|
||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information. | ||
The MIT License (MIT). Please see [License File] for more information. | ||
|
||
[Release Page]: https://github.com/potherca/flysystem-github/releases | ||
[License File]: LICENSE.md | ||
[Travis Page]: https://travis-ci.org/Potherca/flysystem-github | ||
[Coveralls Page]: https://coveralls.io/github/potherca/flysystem-github | ||
[Scrutinizer Page]: https://scrutinizer-ci.com/g/potherca/flysystem-github | ||
[Packagist Page]: https://packagist.org/packages/potherca/flysystem-github | ||
|
||
[Latest Version Badge]: https://img.shields.io/github/release/potherca/flysystem-github.svg | ||
[Software License Badge]: https://img.shields.io/badge/license-MIT-brightgreen.svg | ||
[Build Status Badge]: https://img.shields.io/travis/Potherca/flysystem-github.svg | ||
[Coverage Status Badge]: https://coveralls.io/repos/potherca/flysystem-github/badge.svg | ||
[Quality Score Badge]: https://img.shields.io/scrutinizer/g/potherca/flysystem-github.svg | ||
[Total Downloads Badge]: https://img.shields.io/packagist/dt/potherca/flysystem-github.svg | ||
|
||
[Contributors]: https://github.com/Potherca/flysystem-github/graphs/contributors | ||
[CHANGELOG]: CHANGELOG.md | ||
[CONTRIBUTING]: CONTRIBUTING.md | ||
[Potherca]: https://github.com/potherca | ||
[Github API token]: https://help.github.com/articles/creating-an-access-token-for-command-line-use/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.