-
Notifications
You must be signed in to change notification settings - Fork 1
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
Migrate from Travis to GitHub Actions #21
Comments
How to create a status badge for a GH Action Workflow: Peek.2021-10-04.09-50.mp4 |
What should the value be? @thomasplevy, I do not see the "Settings" menu item for any of the gocodebox projects. From GitHub Encrypted secrets page:
|
@pondermatic I'll add them. i didn't realize secrets were only available to repo owner . |
Should the |
In almost all scenarios we want to move dev -> trunk but the workflow bot goes straight to trunk because it deploys not distributed files (workflows). One day I'll make a workflow to sync trunk to dev when we push changes directly there: #19 For this particular project it's "safe" to push right to trunk and once the changes are ready sync those over to dev manually |
(or do dev first and then sync to trunk if you're more comfortable with that) |
@gocodebox/engineering CC_TEST_REPORTER_ID secret added to all the repos in question and I've updated the test coverage job to be skipped if the secret isn't present (as is the case when running checks on a PR from a fork) |
I tried to push commits to the |
The branch requires signed commits, are your commits not signed? |
I set up a GPG key with GitHub and all my recent commits have a "Verified" button in GitHub. "This commit was signed with the committer’s verified signature." However, when I use the BTW, do we have a place to store our public keys? 1Password maybe? |
My commits to my local
|
I am able to push signed (and unsigned) commits to the When I setup signing keys a few weeks ago, I didn't update my global git config to automatically GPG sign all my commits. Even though GitHub shows commits during the past few weeks as "verified", they were not GPG signed. They will be going forward. |
@gocodebox/engineering |
Once we get GitHub workflows to run successfully, should we delete the failed runs? |
I was for the "I don't care" mode on :P eheh |
In Please help me @gocodebox/engineering. You are my only hope. |
@pondermatic
|
Thank you @eri-trabiccolo! Your suggested procedure worked perfectly. |
I have a similar issue with the
Note that I did something similar on |
@pondermatic |
@thomasplevy
Also, when I tried to log into Twilio to get our authentication to run tests locally, I got this page: I was able to use my own Twilio account to run the tests successfully. |
@pondermatic Nope, don't bother, who cares! |
You can store your keys in 1pass if you want but, in general I haven't found a need to have a centralized store for our dev public keys... I guess it makes sense to do so but I haven't needed them for anything so... |
Yes you do, it's the support inbox in HelpScout (recently renamed to "Conversation Team" |
Added |
I added mine to 1pass today. If the developers had each other's public keys, then the |
The
Should I create an issue for these, or is this something you've seen before the change from TravisCI to GitHub actions? |
Please create an issue (in Twilio repo) to track this, I haven't seen this particular error before and I'll need to investigate this further to determine what's happening. |
@eri-trabiccolo force push has been enabled for the dev branch on the lifterlms-rest |
@pondermatic I've turned force-push on for the |
Alright... we're close enough to everything working that I'm ready to enlist y'all to help get us switched from Travis to GH actions and over to using update WP core utilities for phpunit testing.
Go through your plugins and update/add a codeowners file while you're at it
Updates to be made:
Remove composer.lock file
Remove the composer scripts
install-php8
&tests-install-php8
Change the required version of
lifterlms-tests
to be^3.1.0
Add
composer.lock
to the.gitignore
fileAdd results caching file location in the tmp dir by adding
cacheResultFile="tmp/.phpunit.result.cache"
to thephpunit.xml.dist
fileRun tests, fix anything that fails
setUp()
,tearDown()
,setUpBeforeClass()
andtearDownAfterClass()
should be replaced with snake-case equivalents:set_up()
,tear_down()
, etc...assertEqualsWithDelta()
in favor ofassertEquals()
with the delta passed as the 4th param. If we miss these well catch them when tests intermittently fail later, this is less problematic (and obvious)Check
.travis.yml
for "extra" jobs (other than the standard matrix.github/workflow-matrix.yml
IF the repo has a non-standard job (see docs and talk to me if you're not sure)comment here with the name of your repo: ESLint #22Remove
.travis.yml
Add
.github/CODEOWNERS
Remove
.github/ISSUE_TEMPLATE/
and.github/PULL_REQUEST_TEMPLATE.md
(these are automatically used from this repo if none are found in the repo's .github dir, so they're redundant and can be removed)Remove travis badges from the
README.md
file and add PHPCS, coding standards, and test coverage badges from the GH workflowsCreate the
CC_TEST_REPORTER_ID
repository secretCommit and push everything (trunk & dev)
Make sure everything runs / passes / etc...
Talk to me about problems
https://github.com/gocodebox/lifterlms
https://github.com/gocodebox/lifterlms-advanced-quizzes
https://github.com/gocodebox/lifterlms-advanced-videos
https://github.com/gocodebox/lifterlms-assignments
https://github.com/gocodebox/lifterlms-blocks
https://github.com/gocodebox/lifterlms-convertkit
https://github.com/gocodebox/lifterlms-cli
https://github.com/gocodebox/lifterlms-custom-fields
https://github.com/gocodebox/lifterlms-gateway-authorize-net
https://github.com/gocodebox/lifterlms-gateway-paypal
https://github.com/gocodebox/lifterlms-groups
https://github.com/gocodebox/lifterlms-helper
https://github.com/gocodebox/lifterlms-integration-formidable-forms
https://github.com/gocodebox/lifterlms-integration-gravity-forms
https://github.com/gocodebox/lifterlms-integration-ninja-forms
https://github.com/gocodebox/lifterlms-integration-twilio
https://github.com/gocodebox/lifterlms-integration-woocommerce
https://github.com/gocodebox/lifterlms-integration-wpforms
https://github.com/gocodebox/lifterlms-labs
https://github.com/gocodebox/lifterlms-lite-lms-progress-tracker
https://github.com/gocodebox/lifterlms-mailchimp
https://github.com/gocodebox/lifterlms-pdfs
https://github.com/gocodebox/lifterlms-private-areas
https://github.com/gocodebox/lifterlms-rest
https://github.com/gocodebox/lifterlms-social-learning
https://github.com/gocodebox/lifterlms-stripe
The text was updated successfully, but these errors were encountered: