Skip to content

Commit a958dad

Browse files
authored
AIDM-529: Ensuring latest version of composer package are tested (#3041)
* Add Base * Create Pull Request * Update to v7 * Copy composer to /tmp/ * Set `insert_final_newline` to false * Use Github Actions * typo * Remove composer install step * Set Laravel's `insert_final_newline` to false * Add some `Latest/` * Update Latest Version Dependencies * Prettify script + summary * Check for Latest in basename * newline * Stup Nette & Laminas latests frameworks * Setup Yii latest framework * Setup Yii latest framework * Fix Laminas calls * Makefile fixes * update openai snapshots * fix OpenAI fixture path * fix Guzzle latest snapshot name * fix Predis Tests * Don't try to fix predis in this PR * Fix nette test range * Fix laminas test range * Update snapshots & namespaces * Add required symfony packages * Remove `testFoo` * Change testsuite name * update snapshots * remove config platform from nette * fix namespace * Sett yii config platform to 7.3 * Adapt makefile to slim latest * Remove unsupported runtime for now * Update snapshots * Update snapshots * Update Nette requirements * fix symfony snapshot * Update symfony snapshots * fix laminas mvc latest tests * debug * reset apitools framework * Fix Laravel Octane flakiness * Add Laravel Octane & google spanner latests * Add Laravel Octane & google spanner latests * Update GoogleSpanner snapshots * Laravel Octane Flakiness * Add missing breaking intermediate versions * Remove class hardcoding in mongodb tests * fix mongodb & yii tests * fix yii & slim composer constraints * fix yii path * fix imports * fix mongodb namespaces * fix mongodb imports * fix mongodb imports * push .env (Octane) * Update latest pins * Generate test PR * Resolve Github Action's TODOs * (cr) Modify update_latest_versions.yml * throw an exception on library version retrieval failure * Update Laravel snapshots
1 parent 01b46dd commit a958dad

File tree

956 files changed

+9088
-1845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

956 files changed

+9088
-1845
lines changed

Diff for: .editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ root = true
33
[*]
44
charset = utf-8
55
indent_style = space
6-
insert_final_newline = true
6+
insert_final_newline = false
77
trim_trailing_whitespace = true
88

99
[*.{c,h}]

Diff for: .github/workflows/update_latest_versions.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Update Latest Versions
2+
3+
on:
4+
workflow_dispatch: # can be triggered manually
5+
schedule:
6+
- cron: "30 6 * * 1" # weekly on Monday at 6:30 AM
7+
8+
jobs:
9+
update-latest-versions:
10+
runs-on: ubuntu-24.04
11+
permissions:
12+
contents: write
13+
actions: read
14+
pull-requests: write
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Install PHP
21+
uses: shivammathur/[email protected]
22+
with:
23+
php-version: '8.3'
24+
25+
- name: Install PHP Tracer # Required by test bootstrap
26+
run: |
27+
curl -Lo /tmp/datadog-setup.php https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php
28+
sudo php /tmp/datadog-setup.php --php-bin=all
29+
rm /tmp/datadog-setup.php
30+
31+
- name: Update Test Dependencies
32+
run: make composer_tests_update
33+
34+
- name: Update Latest Versions
35+
run: php tests/PackageUpdater.php
36+
37+
- name: Show changes
38+
run: git diff
39+
40+
- name: Create Pull Request
41+
uses: peter-evans/create-pull-request@v7
42+
with:
43+
token: ${{ secrets.GITHUB_TOKEN }}
44+
commit-message: "chore: update latest versions"
45+
title: "chore: update latest versions"
46+
branch: "update-latest-versions"
47+
base: "master"
48+
delete-branch: true
49+
body: This PR updates the latest pinned versions of the test dependencies.

0 commit comments

Comments
 (0)