Skip to content

Avoid upload of unchanged TTL files #175 #125

Avoid upload of unchanged TTL files #175

Avoid upload of unchanged TTL files #175 #125

Workflow file for this run

name: Generate WIS2 Topic Hierarchy as TTL files
on:
pull_request:
paths:
- 'topic-hierarchy/**.csv'
- '**.py'
- '**.yml'
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install flake8
- name: Generate TTL files
run: |
python3 scripts/codelists2ttl.py
- name: run flake8
run: flake8 scripts/