Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI

on:
push:
branches: ["main", "master"]
pull_request:

permissions:
contents: read

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4', '8.5']
dependency-version: ['prefer-stable', 'prefer-lowest']

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: composer:v2
extensions: mbstring, json

- name: Validate composer.json
run: composer validate --strict

- name: Get Composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ matrix.dependency-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-${{ matrix.php }}-

- name: Install dependencies
run: |
composer update --${{ matrix.dependency-version }} \
--no-interaction \
--prefer-dist \
--no-progress

- name: Run PHPUnit
run: composer test

- name: Run PHPStan
if: matrix.dependency-version == 'prefer-stable'
run: composer stan
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
/bin/
composer.lock
composer.phar
.phpunit.cache/
.phpunit.result.cache
coverage/
*.cache
.DS_Store
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGE LOG

### v2.1.0 - 2026-02-20

- Added production-readiness test coverage for:
- `IpstackClient` requester and bulk edge cases
- `IpstackFactory` configuration failure and success paths
- `Psr18Transport` request building, HTTP error handling, invalid JSON handling, and transport exception wrapping
- Expanded CI quality gates to run `rector:check` in matrix builds.

### v1.0.0 - 2018-07-06

- New Release
Expand Down
Loading