-
Notifications
You must be signed in to change notification settings - Fork 2.6k
40 lines (35 loc) · 992 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Check to_sandbox.txt and to_production.txt do not contain typos
name: Continuous Test
on:
push:
branches: [main]
tags: ["v*.*.*"]
pull_request:
branches: ['**']
jobs:
test_server_files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
# Check to_sandbox.txt and to_production.txt do not contain typos
- name: Install gftools
run: pip install gftools[qa]
- name: Lint server files
run: gftools push-status . --lint
check_knowledge_graph:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
# Check Knowledge link graph
- name: Install dependencies
run: pip install absl-py mistune gftools
- name: Check Knowledge graph
run: python3 .github/workflows/knowledge_graph.py