Skip to content

Commit f55b3db

Browse files
committed
tests/changelog
1 parent 3e0a556 commit f55b3db

2 files changed

Lines changed: 46 additions & 53 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 42 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,47 @@
11
name: tests
22

33
on:
4-
push:
5-
pull_request:
6-
schedule:
7-
- cron: '0 0 * * *'
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 0 * * *'
88

99
jobs:
10-
php-tests:
11-
runs-on: ${{ matrix.os }}
12-
13-
strategy:
14-
matrix:
15-
php: [8.3, 8.2]
16-
laravel: ['11.*', '12.*', '13.*']
17-
dependency-version: [prefer-lowest, prefer-stable]
18-
os: [ubuntu-latest]
19-
include:
20-
- laravel: 12.*
21-
testbench: 10.*
22-
dependency-version: prefer-lowest
23-
- laravel: 12.*
24-
testbench: 10.*
25-
dependency-version: prefer-stable
26-
- laravel: 11.*
27-
testbench: 9.*
28-
dependency-version: prefer-lowest
29-
- laravel: 11.*
30-
testbench: 9.*
31-
dependency-version: prefer-stable
32-
exclude:
33-
- laravel: 13.*
34-
php: 8.2
35-
36-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
37-
38-
steps:
39-
- name: Checkout code
40-
uses: actions/checkout@v2
41-
42-
- name: Setup PHP
43-
uses: shivammathur/setup-php@v2
44-
with:
45-
php-version: ${{ matrix.php }}
46-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
47-
coverage: none
48-
49-
- name: Require dependencies
50-
run: |
51-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
52-
53-
- name: Install dependencies
54-
run: |
55-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
56-
57-
- name: Execute tests
58-
run: vendor/bin/phpunit --no-coverage
10+
php-tests:
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
php: [8.3, 8.2]
16+
laravel: [12.*, 13.*]
17+
dependency-version: [prefer-lowest, prefer-stable]
18+
os: [ubuntu-latest]
19+
include:
20+
- laravel: 13.*
21+
testbench: 11.*
22+
- laravel: 12.*
23+
testbench: 10.*
24+
25+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
26+
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v2
30+
31+
- name: Setup PHP
32+
uses: shivammathur/setup-php@v2
33+
with:
34+
php-version: ${{ matrix.php }}
35+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
36+
coverage: none
37+
38+
- name: Require dependencies
39+
run: |
40+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
41+
42+
- name: Install dependencies
43+
run: |
44+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
45+
46+
- name: Execute tests
47+
run: vendor/bin/phpunit --no-coverage

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-postcodeapi` will be documented in this file
44

5+
## 2.1.0 - 2026-03-19
6+
7+
- Adding support for Laravel 13 ([#53](https://github.com/nickurt/laravel-postcodeapi/pull/53))
8+
59
## 2.0.0 - 2025-02-28
610

711
- Removed outdated Providers (Algolia, GeonamesDE, GeoPostcodeOrgUk, PostcodeData, PostcodesNL, Pstcd and UkPostcodes)

0 commit comments

Comments
 (0)