-
Notifications
You must be signed in to change notification settings - Fork 2
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
MNT Resolve CI problems #3
MNT Resolve CI problems #3
Conversation
7a32797
to
a125d4d
Compare
.env
Outdated
@@ -0,0 +1,12 @@ | |||
SS_DATABASE_CLASS="MySQLDatabase" |
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.
Shouldn't be adding a .env file directly in root of a module
We dynamically create .env file in ci - https://github.com/silverstripe/gha-ci/blob/1/.github/workflows/ci.yml#L657 - may need to make an update in gha-ci to get this to work the way you want things to?
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.
Oops, that was just a git add .
and not double checking if I was adding extra gunk. It's a directly copy of what CI adds already from when I was trying to figure out what was going wrong in CI.
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.
Removed
a125d4d
to
bd9ca57
Compare
- Tell phpcs what to sniff - Throw a hard error if we can't bootstrap tests correctly - Force Tokens.php to be run for constant declarations
bd9ca57
to
17757eb
Compare
@emteknetnz Are there any more changes needed for this PR? |
Linting and unit tests are failing - see https://github.com/silverstripe/markdown-php-codesniffer/actions/runs/6844025973
Tokens.php
to be run for constant declarations (needed in CI for some reason, but not needed locally)Issue