Skip to content

The usual pre-release minutia #4

The usual pre-release minutia

The usual pre-release minutia #4

Workflow file for this run

name: CLDF-validation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
validate-lexicon:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cldf
- name: Validate lexicon
run: |
pytest --cldf-metadata=cldf/lexicon-metadata.json test.py
validate-phonemes:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cldf
- name: Validate phonemes
run: |
pytest --cldf-metadata=cldf/phonemes-metadata.json test.py
validate-phonology:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cldf
- name: Validate phonology
run: |
pytest --cldf-metadata=cldf/phonology-metadata.json test.py
validate-wordlist:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cldf
- name: Validate wordlist
run: |
pytest --cldf-metadata=cldf/wordlist-metadata.json test.py