chore: move docs check from kokoro to GH actions (#171) · googleapis/python-cloud-core@fe5f7dd · GitHub
Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit fe5f7dd

Browse files
authored
chore: move docs check from kokoro to GH actions (#171)
1 parent f7f3c1b commit fe5f7dd

4 files changed

Lines changed: 56 additions & 46 deletions

File tree

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 0 deletions

.github/workflows/docs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Docs"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
jobs:
8+
run-docs:
9+
name: docs
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: "3.7"
18+
- name: Install nox
19+
run: |
20+
python -m pip install --upgrade setuptools pip wheel
21+
python -m pip install nox
22+
- name: Run docs
23+
run: |
24+
nox -s docs docfx

.github/workflows/lint.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Lint"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
jobs:
8+
run-lint-mypy:
9+
name: lint-mypy
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: "3.7"
18+
- name: Install nox
19+
run: |
20+
python -m pip install --upgrade setuptools pip wheel
21+
python -m pip install nox
22+
- name: Run lint
23+
run: |
24+
nox -s lint
25+
- name: Run lint_setup_py
26+
run: |
27+
nox -s lint_setup_py
28+
- name: Run mypy
29+
run: |
30+
nox -s mypy
Lines changed: 1 addition & 46 deletions

0 commit comments

Comments
 (0)