Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update actions #38

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

Closed
SoftCreatR wants to merge 1 commit into martin-helmich:master from SoftCreatR:master
Closed

Update actions #38

SoftCreatR wants to merge 1 commit into martin-helmich:master from SoftCreatR:master

Conversation

@SoftCreatR
Copy link
Contributor

@SoftCreatR SoftCreatR commented Nov 2, 2020

n/t

Copy link
Owner

@martin-helmich martin-helmich left a comment

Choose a reason for hiding this comment

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

Thanks for the PR 👍 any sorry for the delayed response -- I've added some review comments.

continue-on-error: ${{ matrix.php == '8.0' }}
name: PHP ${{ matrix.php }}, PHPUnit ${{ matrix.phpunit }}
name: PHP ${{ matrix.php }}
Copy link
Owner

@martin-helmich martin-helmich Dec 22, 2020

Choose a reason for hiding this comment

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

Since this library not just uses PHPUnit as dependency, but is in itself also intended as an addon for PHPUnit, I'd like to keep testing against multiple versions of PHPUnit (at least those that are supported by this lib, which tend to correlate with the officially supported versions).

Copy link
Contributor Author

@SoftCreatR SoftCreatR Dec 22, 2020

Choose a reason for hiding this comment

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

The idea is, to let composer decide, which PHPUnit version to use, depending on the current PHP version. It should cover most versions, without explicitly declaring them.

Copy link
Owner

@martin-helmich martin-helmich Dec 23, 2020

Choose a reason for hiding this comment

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

My assumption was that most users will have a dependency to phpunit/phpunit declared directly in the require-dev section of their composer.json, and will then require-dev any assertion libraries (like this one) on top/in addition to their existing PHPUnit requirements.

tags:
- '*'
- '!v1'
- '!v2'
Copy link
Owner

@martin-helmich martin-helmich Dec 22, 2020

Choose a reason for hiding this comment

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

I'd prefer keeping the tags configuration, here.

Suggested change
- '!v2'
- '!v2'
tags:
- '*'

Copy link
Contributor Author

@SoftCreatR SoftCreatR Dec 22, 2020

Choose a reason for hiding this comment

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

That doesn't make much sense Imho.

Copy link
Owner

@martin-helmich martin-helmich Dec 23, 2020

Choose a reason for hiding this comment

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

Care to elaborate?

Copy link
Contributor Author

@SoftCreatR SoftCreatR Dec 23, 2020

Choose a reason for hiding this comment

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

There's just absolutely no need to perform another test upon tag creation. Creating a tag requires a push or a merged PR and in both cases, the tests have already been performed.

Comment on lines +6 to +8
paths:
- '**.php'
- 'composer.json'
Copy link
Owner

@martin-helmich martin-helmich Dec 22, 2020

Choose a reason for hiding this comment

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

That seems unnecessarily restrictive. I can already see a maintainer in a far-distant future (probably me) wonder why a pipeline didn't run after modifying the phpunit.xml, or adding a fixture JSON file, etc. I'm fine with non-code changes triggering an extra (potentially superflous) build for the sake of simplicity.

Suggested change
paths:
- '**.php'
- 'composer.json'

Copy link
Contributor Author

@SoftCreatR SoftCreatR Dec 22, 2020

Choose a reason for hiding this comment

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

That's fine 👍

Comment on lines +14 to +16
paths:
- '**.php'
- 'composer.json'
Copy link
Owner

@martin-helmich martin-helmich Dec 22, 2020

Choose a reason for hiding this comment

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

Same as above.

Suggested change
paths:
- '**.php'
- 'composer.json'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@martin-helmich martin-helmich martin-helmich requested changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /