You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BuildBuddy workflows](workflows-setup.md), BuildBuddy will automatically
9
-
run `bazel test //...` on each push to your repo, reporting results to the
10
-
BuildBuddy UI.
8
+
[BuildBuddy workflows](workflows-setup.md), there are two ways to start running Workflows.
11
9
12
-
But you may wish to configure multiple test commands with different test
10
+
The default workflow config runs `bazel test //...` whenever a commit is pushed to your repo's default branch or a pull request branch is updated. In order to enable this, click `Enable default workflow config`
11
+
in the three-dot dropdown for your repository on the Workflows page.
12
+
13
+
You may wish to configure multiple test commands with different test
13
14
tag filters, or run the same tests on multiple different platform
14
15
configurations (running some tests on Linux, and some on macOS, for
Copy file name to clipboardExpand all lines: docs/workflows-setup.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,14 @@ To enable workflows, take the following steps:
33
33
34
34
## Running workflows
35
35
36
-
Once a repository is linked, BuildBuddy will automatically run `bazel test //...` whenever a commit is pushed to your repo's default branch
37
-
or whenever a pull request branch is updated. It will report commit
38
-
statuses to GitHub, which you can see on the repo's home page or in pull
39
-
request branches. The "Details" links in these statuses point to the
40
-
BuildBuddy UI, where you can see the result of the workflow run.
36
+
After you've linked a repository, there are two ways to start running Workflows:
41
37
42
-
## Configuring your workflow
38
+
The default workflow config runs `bazel test //...` whenever a commit is pushed to your repo's default branch or a pull request branch is updated. In order to enable this, click `Enable default workflow config`
39
+
in the three-dot dropdown for your repository on the Workflows page.
43
40
44
-
To learn how to change the default configuration, see [workflows configuration](workflows-config.md).
41
+
In order to configure more complex workflows - i.e. different trigger conditions or running different commands - you will need to add a file called `buildbuddy.yaml` to the root of your git repo. See [workflows configuration](workflows-config.md) for more details..
42
+
43
+
Workflows will report commit statuses to GitHub, which you can see on the repo's home page or in pull request branches. The "Details" links in these statuses point to the BuildBuddy UI, where you can see the result of the workflow run.
0 commit comments