-
Notifications
You must be signed in to change notification settings - Fork 224
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
Separate workflows for running tests and building documentation #1033
Conversation
b422000
to
4adf973
Compare
4adf973
to
5bbad55
Compare
5bbad55
to
4578d0a
Compare
95002be
to
98d4110
Compare
54d56da
to
10a9a10
Compare
8a77170
to
0c4b311
Compare
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.
Co-authored-by: Wei Ji <[email protected]>
The macOS CI takes only 9 minutes in the previous runs (https://github.com/GenericMappingTools/pygmt/runs/2081311267). Let's see what happens in the next runs. |
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.
Please also update the master branch protection at https://github.com/GenericMappingTools/pygmt/settings/branches to include these 3 (Linux/macOS/Windows) docs build workflows.
One thing to note is that we're inconsistently using Currently, this PR uses |
Probably best to do the renaming in a separate PR. We've are also been inconsistently using hyphens and underscores in https://github.com/GenericMappingTools/pygmt/tree/v0.3.1/.github/workflows. Oh, and just noticed that we probably need a badge for |
So keep using
Is it useful to you? I usually check the status of the latest commit, not the badges: I feel that the badges are only useful telling new users that the package on master branch is running well and please try it, so the "Docs" build status is less useful. |
Yes, and we can argue about hyphens and underscores again (plus change the README badges to point to the new filenames in that PR too).
True, no need to add it then. All good to merge! |
…ricMappingTools#1033) Separates the current "Tests" workflow into two workflows to speedup our CI jobs. - ci_test.yaml: runs the full tests - ci_docs.yml: build the documentation and deploy it on master branch Co-authored-by: Wei Ji <[email protected]>
Description of proposed changes
As mentioned in #830, this PR separates the current "Tests" workflow into two workflows to speedup our CI jobs.
ci_test.yaml
: runs the full testsci_docs.yml
: build the documentation and deploy it on master branchTODO
paths
andpaths-ignore
topush
andpull_request
)Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version