Skip to content

Commit

Permalink
Merge pull request #99 from BedrockStreaming/fix-ci
Browse files Browse the repository at this point in the history
feat: update ci using gh actions
  • Loading branch information
lnahiro authored Jan 3, 2022
2 parents 86a7b33 + 0bedd75 commit 3f99a16
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @BedrockStreaming/cache-db
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Continuous Integration
on: [push]

jobs:
tests:
name: Tests
runs-on: ubuntu-20.04
strategy:
matrix:
version: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
fail-fast: false
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version }}
coverage: xdebug2
- run: composer install --dev ${{ matrix.flags }}
- run: vendor/bin/atoum
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Redis PHP Mock [![Build Status](https://secure.travis-ci.org/M6Web/RedisMock.svg?branch=master)](http://travis-ci.org/M6Web/RedisMock) [![Total Downloads](https://poser.pugx.org/m6web/redis-mock/downloads.svg)](https://packagist.org/packages/m6web/redis-mock)
# Redis PHP Mock [![Build Status](https://github.com/BedrockStreaming/RedisMock/actions/workflows/ci.yml/badge.svg)](https://github.com/BedrockStreaming/RedisMock/actions/workflows/ci.yml) [![Total Downloads](https://poser.pugx.org/m6web/redis-mock/downloads.svg)](https://packagist.org/packages/m6web/redis-mock)

PHP 7.1 library providing a Redis PHP mock for your tests.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"php": ">=7.1.0"
},
"require-dev": {
"atoum/atoum": "master-dev",
"atoum/atoum": "~3.4||~4.0",
"predis/predis": "~1.1"
}
}
4 changes: 2 additions & 2 deletions tests/units/RedisMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace M6Web\Component\RedisMock\tests\units;

use mageekguy\atoum\test;
use atoum;
use M6Web\Component\RedisMock\RedisMock as Redis;

/**
* Redis mock test
*/
class RedisMock extends test
class RedisMock extends atoum
{
public function testSetGetDelExists()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/units/RedisMockFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use M6Web\Component\RedisMock\RedisMockFactory as Factory;
use M6Web\Component\RedisMock\RedisMock as Mock;
use mageekguy\atoum\test;
use atoum;

/**
* Test class for RedisMockFactory
*/
class RedisMockFactory extends test
class RedisMockFactory extends atoum
{

/**
Expand Down

0 comments on commit 3f99a16

Please sign in to comment.