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
13 changes: 13 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Unit Tests
run-name: ${{ github.actor }} is running Unit Tests
on:
pull_request:
branches:
- 2.4-develop

permissions:
contents: write

jobs:
run-unit-tests:
uses: mage-os/infrastructure/.github/workflows/unit-tests.yml@main
8 changes: 8 additions & 0 deletions supported-services.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am hesitant to add a file to the root directory. Would it be an idea to add it to .github/workflows/ instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it got approved in a previous meeting (quite a while ago now).
Ideally I'd like it to go in root, just so it can be part of a release. This way there would be a way to programatically determine what services a specific version of mage-os supports / has been tested.
I was also intending to leverage this file with the integration tests.
What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, why not. No hard feelings here :)

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"services": {
"php": [
8.1,
8.2
]
}
}