-
Notifications
You must be signed in to change notification settings - Fork 160
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
Changes from 63 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
7d7564c
Add Base
PROFeNoM cf2e894
Create Pull Request
PROFeNoM 8484e61
Update to v7
PROFeNoM 7f74f1f
Copy composer to /tmp/
PROFeNoM 1ea6eda
Set `insert_final_newline` to false
PROFeNoM c2035b4
Use Github Actions
PROFeNoM e2418f8
typo
PROFeNoM f2b4748
Remove composer install step
PROFeNoM bbecea3
Set Laravel's `insert_final_newline` to false
PROFeNoM 31d0eab
Add some `Latest/`
PROFeNoM 00dbb8c
Update Latest Version Dependencies
PROFeNoM fba243f
Prettify script + summary
PROFeNoM 32c4e6d
Check for Latest in basename
PROFeNoM aa127df
newline
PROFeNoM 029a91f
Stup Nette & Laminas latests frameworks
PROFeNoM acf1d0c
Setup Yii latest framework
PROFeNoM 44cf2a5
Setup Yii latest framework
PROFeNoM 56e9dfe
Fix Laminas calls
PROFeNoM 503d00f
Makefile fixes
PROFeNoM 15cd02a
update openai snapshots
PROFeNoM b9b6c07
fix OpenAI fixture path
PROFeNoM c3b825d
fix Guzzle latest snapshot name
PROFeNoM f412b76
fix Predis Tests
PROFeNoM 879dd85
Don't try to fix predis in this PR
PROFeNoM 8220a26
Fix nette test range
PROFeNoM 4fa69d5
Fix laminas test range
PROFeNoM 912710c
Update snapshots & namespaces
PROFeNoM e163030
Add required symfony packages
PROFeNoM 80826f0
Remove `testFoo`
PROFeNoM 31f70d7
Change testsuite name
PROFeNoM 767153a
update snapshots
PROFeNoM 74f57ca
remove config platform from nette
PROFeNoM a422a59
fix namespace
PROFeNoM f738fd7
Sett yii config platform to 7.3
PROFeNoM c939243
Adapt makefile to slim latest
PROFeNoM 8dedf8a
Remove unsupported runtime for now
PROFeNoM 85c8629
Update snapshots
PROFeNoM 3c807e6
Update snapshots
PROFeNoM c5b35f6
Update Nette requirements
PROFeNoM b04d12b
fix symfony snapshot
PROFeNoM a3b2861
Update symfony snapshots
PROFeNoM 888d4a0
fix laminas mvc latest tests
PROFeNoM c255b25
debug
PROFeNoM f1508ab
reset apitools framework
PROFeNoM e1be028
Fix Laravel Octane flakiness
PROFeNoM 50d33ab
Add Laravel Octane & google spanner latests
PROFeNoM 10f2de4
Add Laravel Octane & google spanner latests
PROFeNoM 600a973
Update GoogleSpanner snapshots
PROFeNoM ba3b8a9
Laravel Octane Flakiness
PROFeNoM 29b878c
Add missing breaking intermediate versions
PROFeNoM 990ed24
Remove class hardcoding in mongodb tests
PROFeNoM 64db5bf
fix mongodb & yii tests
PROFeNoM e342923
fix yii & slim composer constraints
PROFeNoM 93065f1
fix yii path
PROFeNoM 4ba0a8f
fix imports
PROFeNoM 0455221
fix mongodb namespaces
PROFeNoM c07146b
fix mongodb imports
PROFeNoM 4932d87
fix mongodb imports
PROFeNoM 83bef9e
push .env (Octane)
PROFeNoM 73977f3
Merge remote-tracking branch 'refs/remotes/origin/master' into alex/A…
PROFeNoM 1a4b417
Update latest pins
PROFeNoM d268340
Generate test PR
PROFeNoM 2c01977
Resolve Github Action's TODOs
PROFeNoM 35c6dc7
(cr) Modify update_latest_versions.yml
PROFeNoM d11bc8a
throw an exception on library version retrieval failure
PROFeNoM 52fb7c0
Update Laravel snapshots
PROFeNoM File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Update Latest Versions | ||
|
||
on: | ||
workflow_dispatch: # can be triggered manually | ||
schedule: | ||
- cron: "0 0 * * 0" # weekly on Sunday at midnight | ||
|
||
jobs: | ||
update-latest-versions: | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
contents: write | ||
actions: read | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- 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" | ||
draft: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Assuming that will be removed at a future date to become a non-draft PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice catch |
||
delete-branch: true | ||
body: This PR updates the latest pinned versions of the test dependencies. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpicky but do you need to checkout the entire history?
1
is the default and just grabs the latest