Skip to content

Commit

Permalink
Merge pull request #1 from idanoo/action_test
Browse files Browse the repository at this point in the history
2.1.2 (2023-03-22) - Composer update / Update git information (GitHub)
  • Loading branch information
idanoo authored Mar 21, 2023
2 parents c696723 + 575509f commit 0b925b6
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 91 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI
on: [push]
jobs:
Linter:
runs-on: ubuntu-latest
container: php:8.2
steps:
- uses: actions/checkout@v3
- name: Install composer
run: apt-get update -yq && apt-get install git wget procps unzip -y && pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis && wget https://getcomposer.org/composer.phar && php composer.phar install --dev
- name: Validate composer.json and composer.lock
run: php composer.phar validate --strict
- name: Install dependencies
run: php composer.phar install --dev --prefer-dist --no-progress
- name: Run PHPCS Linter
run: php -d memory_limit=256M vendor/bin/phpcs -s --standard=ruleset.xml
PHPTest:
runs-on: ubuntu-latest
container: php:${{ matrix.php_version }}
strategy:
matrix:
php_version: [7.4, 8.0, 8.1, 8.2]
services:
redis:
image: redis:7.0
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Install composer
run: apt-get update -yq && apt-get install git wget procps unzip -y && pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis && wget https://getcomposer.org/composer.phar && php composer.phar install --dev
- name: Run PHP ${{ matrix.php_version }}} Unit Tests
run: php vendor/bin/phpunit --verbose --configuration phpunit.xml
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.1.2 (2023-03-22)
- Update composer packages
- Update git information (GitHub)

# 2.1.1 (2023-03-20)
- Changed setex to set with EX values
- Added TTLs to missing keys
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"description": "Redis backed library for creating background jobs and processing them later. Based on resque for Ruby. Originally forked from chrisboulton/php-resque.",
"keywords": ["job", "background", "redis", "resque", "php"],
"homepage": "https://gitlab.com/idanoo/php-resque/",
"homepage": "https://github.com/idanoo/php-resque",
"license": "MIT",
"authors": [
{
Expand All @@ -18,7 +18,7 @@
"require": {
"php": ">7.4",
"psr/log": "^1.1.0",
"colinmollenhour/credis": "^1.13.0"
"colinmollenhour/credis": "^1.14.0"
},
"require-dev": {
"phpunit/phpunit": "^9",
Expand All @@ -40,8 +40,8 @@
}
},
"support": {
"issues": "https://gitlab.com/idanoo/php-resque/issues",
"source": "https://gitlab.com/idanoo/php-resque"
"issues": "https://github.com/idanoo/php-resque/issues",
"source": "https://github.com/idanoo/php-resque"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 0b925b6

Please sign in to comment.