36 lines
886 B
YAML
36 lines
886 B
YAML
# Check to_sandbox.txt and to_production.txt do not contain typos
|
|
name: Continuous Test
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags: ["v*.*.*"]
|
|
paths:
|
|
- "cc-by-sa/*"
|
|
- ".github/workflows/ci.yaml"
|
|
- "/.github/workflows/knowledge_graph.py"
|
|
pull_request:
|
|
branches: ['**']
|
|
paths:
|
|
- "cc-by-sa/*"
|
|
- "to_*.txt"
|
|
- ".github/workflows/ci.yaml"
|
|
|
|
jobs:
|
|
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"
|
|
- name: Install Cairo (Ubuntu)
|
|
run: sudo apt-get install libcairo2-dev
|
|
|
|
# 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 --check_outbound_links
|