Skip to content

Commit cbb87dc

Browse files
authored
docs: how to test gha (#13056)
1 parent 076466b commit cbb87dc

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# How-to Guide: Test Github Actions (GHA)
2+
3+
Our GHA configurations live in `.github/workflows`.
4+
5+
We have 4 actions that run our builds on Windows and MacOS.
6+
7+
- `macos-bazel.yml`
8+
- `macos-cmake.yml`
9+
- `windows-bazel.yml`
10+
- `windows-cmake.yml`
11+
12+
To test changes to one of those GHA, you need to push it to a branch on the
13+
upstream repo (googleapis/google-cloud-cpp) with the prefix `ci-gha`
14+
15+
```shell
16+
git checkout -b ci-gha-XXX
17+
git push -u upstream
18+
```
19+
20+
Then delete the branch on the upstream repo when you're done
21+
22+
```shell
23+
git push upstream --delete <branch>
24+
```

0 commit comments

Comments
 (0)