@@ -74,10 +74,9 @@ the feature triggers the new behavior when it should, and to show the
74
74
feature does not trigger when it shouldn't. After any code change, make
75
75
sure that the entire test suite passes.
76
76
77
- If you have an account at GitHub (and you can get one for free to work
78
- on open source projects), you can use their Travis CI integration to
79
- test your changes on Linux, Mac (and hopefully soon Windows). See
80
- GitHub-Travis CI hints section for details.
77
+ Pushing to a fork of https://github.com/git/git will use their CI
78
+ integration to test your changes on Linux, Mac and Windows. See the
79
+ <<GHCI,GitHub CI>> section for details.
81
80
82
81
Do not forget to update the documentation to describe the updated
83
82
behavior and make sure that the resulting documentation set formats
@@ -449,45 +448,31 @@ their trees themselves.
449
448
entitled "What's cooking in git.git" and "What's in git.git" giving
450
449
the status of various proposed changes.
451
450
452
- [[travis]]
453
- == GitHub-Travis CI hints
451
+ == GitHub CI[[GHCI]]]
454
452
455
- With an account at GitHub ( you can get one for free to work on open
456
- source projects), you can use Travis CI to test your changes on Linux,
457
- Mac (and hopefully soon Windows). You can find a successful example
458
- test build here: https://travis-ci.org/git/git/builds/120473209
453
+ With an account at GitHub, you can use GitHub CI to test your changes
454
+ on Linux, Mac and Windows. See
455
+ https://github.com/git/git/actions/workflows/main.yml for examples of
456
+ recent CI runs.
459
457
460
458
Follow these steps for the initial setup:
461
459
462
460
. Fork https://github.com/git/git to your GitHub account.
463
461
You can find detailed instructions how to fork here:
464
462
https://help.github.com/articles/fork-a-repo/
465
463
466
- . Open the Travis CI website: https://travis-ci.org
467
-
468
- . Press the "Sign in with GitHub" button.
469
-
470
- . Grant Travis CI permissions to access your GitHub account.
471
- You can find more information about the required permissions here:
472
- https://docs.travis-ci.com/user/github-oauth-scopes
473
-
474
- . Open your Travis CI profile page: https://travis-ci.org/profile
475
-
476
- . Enable Travis CI builds for your Git fork.
477
-
478
- After the initial setup, Travis CI will run whenever you push new changes
464
+ After the initial setup, CI will run whenever you push new changes
479
465
to your fork of Git on GitHub. You can monitor the test state of all your
480
- branches here: https://travis-ci.org/__ <Your GitHub handle>__ /git/branches
466
+ branches here: https://github.com/ <Your GitHub handle>/git/actions/workflows/main.yml
481
467
482
468
If a branch did not pass all test cases then it is marked with a red
483
- cross. In that case you can click on the failing Travis CI job and
484
- scroll all the way down in the log. Find the line "<-- Click here to see
485
- detailed test output!" and click on the triangle next to the log line
486
- number to expand the detailed test output. Here is such a failing
487
- example: https://travis-ci.org/git/git/jobs/122676187
488
-
489
- Fix the problem and push your fix to your Git fork. This will trigger
490
- a new Travis CI build to ensure all tests pass.
469
+ cross. In that case you can click on the failing job and navigate to
470
+ "ci/run-build-and-tests.sh" and/or "ci/print-test-failures.sh". You
471
+ can also download "Artifacts" which are tarred (or zipped) archives
472
+ with test data relevant for debugging.
473
+
474
+ Then fix the problem and push your fix to your GitHub fork. This will
475
+ trigger a new CI build to ensure all tests pass.
491
476
492
477
[[mua]]
493
478
== MUA specific hints
0 commit comments