Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIDM-529: Ensuring latest version of composer package are tested #3041

Merged
merged 66 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from 64 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
7d7564c
Add Base
PROFeNoM Jan 15, 2025
cf2e894
Create Pull Request
PROFeNoM Jan 15, 2025
8484e61
Update to v7
PROFeNoM Jan 15, 2025
7f74f1f
Copy composer to /tmp/
PROFeNoM Jan 15, 2025
1ea6eda
Set `insert_final_newline` to false
PROFeNoM Jan 16, 2025
c2035b4
Use Github Actions
PROFeNoM Jan 16, 2025
e2418f8
typo
PROFeNoM Jan 16, 2025
f2b4748
Remove composer install step
PROFeNoM Jan 16, 2025
bbecea3
Set Laravel's `insert_final_newline` to false
PROFeNoM Jan 16, 2025
31d0eab
Add some `Latest/`
PROFeNoM Jan 16, 2025
00dbb8c
Update Latest Version Dependencies
PROFeNoM Jan 16, 2025
fba243f
Prettify script + summary
PROFeNoM Jan 16, 2025
32c4e6d
Check for Latest in basename
PROFeNoM Jan 16, 2025
aa127df
newline
PROFeNoM Jan 16, 2025
029a91f
Stup Nette & Laminas latests frameworks
PROFeNoM Jan 16, 2025
acf1d0c
Setup Yii latest framework
PROFeNoM Jan 17, 2025
44cf2a5
Setup Yii latest framework
PROFeNoM Jan 17, 2025
56e9dfe
Fix Laminas calls
PROFeNoM Jan 17, 2025
503d00f
Makefile fixes
PROFeNoM Jan 17, 2025
15cd02a
update openai snapshots
PROFeNoM Jan 17, 2025
b9b6c07
fix OpenAI fixture path
PROFeNoM Jan 17, 2025
c3b825d
fix Guzzle latest snapshot name
PROFeNoM Jan 17, 2025
f412b76
fix Predis Tests
PROFeNoM Jan 17, 2025
879dd85
Don't try to fix predis in this PR
PROFeNoM Jan 17, 2025
8220a26
Fix nette test range
PROFeNoM Jan 17, 2025
4fa69d5
Fix laminas test range
PROFeNoM Jan 17, 2025
912710c
Update snapshots & namespaces
PROFeNoM Jan 20, 2025
e163030
Add required symfony packages
PROFeNoM Jan 20, 2025
80826f0
Remove `testFoo`
PROFeNoM Jan 20, 2025
31f70d7
Change testsuite name
PROFeNoM Jan 20, 2025
767153a
update snapshots
PROFeNoM Jan 20, 2025
74f57ca
remove config platform from nette
PROFeNoM Jan 20, 2025
a422a59
fix namespace
PROFeNoM Jan 20, 2025
f738fd7
Sett yii config platform to 7.3
PROFeNoM Jan 20, 2025
c939243
Adapt makefile to slim latest
PROFeNoM Jan 20, 2025
8dedf8a
Remove unsupported runtime for now
PROFeNoM Jan 20, 2025
85c8629
Update snapshots
PROFeNoM Jan 20, 2025
3c807e6
Update snapshots
PROFeNoM Jan 20, 2025
c5b35f6
Update Nette requirements
PROFeNoM Jan 20, 2025
b04d12b
fix symfony snapshot
PROFeNoM Jan 20, 2025
a3b2861
Update symfony snapshots
PROFeNoM Jan 21, 2025
888d4a0
fix laminas mvc latest tests
PROFeNoM Jan 21, 2025
c255b25
debug
PROFeNoM Jan 21, 2025
f1508ab
reset apitools framework
PROFeNoM Jan 21, 2025
e1be028
Fix Laravel Octane flakiness
PROFeNoM Jan 21, 2025
50d33ab
Add Laravel Octane & google spanner latests
PROFeNoM Jan 21, 2025
10f2de4
Add Laravel Octane & google spanner latests
PROFeNoM Jan 21, 2025
600a973
Update GoogleSpanner snapshots
PROFeNoM Jan 21, 2025
ba3b8a9
Laravel Octane Flakiness
PROFeNoM Jan 21, 2025
29b878c
Add missing breaking intermediate versions
PROFeNoM Jan 22, 2025
990ed24
Remove class hardcoding in mongodb tests
PROFeNoM Jan 22, 2025
64db5bf
fix mongodb & yii tests
PROFeNoM Jan 22, 2025
e342923
fix yii & slim composer constraints
PROFeNoM Jan 22, 2025
93065f1
fix yii path
PROFeNoM Jan 22, 2025
4ba0a8f
fix imports
PROFeNoM Jan 22, 2025
0455221
fix mongodb namespaces
PROFeNoM Jan 22, 2025
c07146b
fix mongodb imports
PROFeNoM Jan 22, 2025
4932d87
fix mongodb imports
PROFeNoM Jan 22, 2025
83bef9e
push .env (Octane)
PROFeNoM Jan 22, 2025
73977f3
Merge remote-tracking branch 'refs/remotes/origin/master' into alex/A…
PROFeNoM Jan 22, 2025
1a4b417
Update latest pins
PROFeNoM Jan 23, 2025
d268340
Generate test PR
PROFeNoM Jan 23, 2025
2c01977
Resolve Github Action's TODOs
PROFeNoM Jan 23, 2025
35c6dc7
(cr) Modify update_latest_versions.yml
PROFeNoM Jan 24, 2025
d11bc8a
throw an exception on library version retrieval failure
PROFeNoM Jan 27, 2025
52fb7c0
Update Laravel snapshots
PROFeNoM Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ root = true
[*]
charset = utf-8
indent_style = space
insert_final_newline = true
insert_final_newline = false
trim_trailing_whitespace = true

[*.{c,h}]
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/update_latest_versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Update Latest Versions

on:
workflow_dispatch: # can be triggered manually
schedule:
- cron: "30 6 * * 1" # weekly on Monday at 6:30 AM

jobs:
update-latest-versions:
runs-on: ubuntu-24.04
permissions:
contents: write
actions: read
pull-requests: write

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

- name: Install PHP
uses: shivammathur/[email protected]
with:
php-version: '8.3'

- name: Install PHP Tracer # Required by test bootstrap
run: |
curl -Lo /tmp/datadog-setup.php https://github.com/DataDog/dd-trace-php/releases/latest/download/datadog-setup.php
sudo php /tmp/datadog-setup.php --php-bin=all
rm /tmp/datadog-setup.php

- name: Update Test Dependencies
run: make composer_tests_update

- name: Update Latest Versions
run: php tests/PackageUpdater.php

- name: Show changes
run: git diff

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update latest versions"
title: "chore: update latest versions"
quinna-h marked this conversation as resolved.
Show resolved Hide resolved
branch: "update-latest-versions"
base: "master"
delete-branch: true
body: This PR updates the latest pinned versions of the test dependencies.
Loading
Loading