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

Add PHP Matrix and caching #345

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
dmason30 wants to merge 2 commits into mikebronner:master from dmason30:patch-2
Closed

Add PHP Matrix and caching #345

dmason30 wants to merge 2 commits into mikebronner:master from dmason30:patch-2

Conversation

@dmason30
Copy link
Contributor

@dmason30 dmason30 commented May 2, 2020
edited
Loading

Its common to do a matrix for supported PHP versions and to cache composer dependencies for faster runs.

image

Note: Installing nova will fail on PRs as it tries to install nova when access to secrets is blocked. The same problem we had with travis.

Its common to do a matrix for supported PHP versions and to cache composer dependencies for faster runs.
Copy link
Owner

Thanks for the updates :). Blarg, so it looks like actions don't apply env vars to PRs either ... I'll research that more this weekend.

dmason30 reacted with thumbs up emoji

Copy link
Contributor Author

dmason30 commented May 2, 2020
edited
Loading

@mikebronner Yeah you will probs have to go down a similar approach

- name: Remove Nova on a Pull Request
 if: github.event_name == 'pull_request'
 run: composer remove laravel/nova --no-update --no-interaction
# Install dependencies & other steps...
- name: Execute Integration and Feature tests via PHPUnit
 run: vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite Integration,Feature
- name: Execute Nova tests via PHPUnit
 if: github.event_name != 'pull_request'
 run: vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite Nova

@dmason30 dmason30 deleted the patch-2 branch May 2, 2020 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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