Updated the Floristics methods vocabs #1370
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
# Make workflow callable. | |
workflow_call: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
- name: Use Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install project dependencies | |
run: pip install -r requirements.txt | |
- name: Install project | |
run: pip install . | |
- name: Run isort check | |
run: isort . --check-only | |
- name: Run black check | |
run: black . --check | |
- name: Run ontotools normalize Turtle files check | |
run: ontotools dir normalize . --check | |
# - name: Check for changes in upstream LUTs | |
# run: python luts.py --path remote_data_dir --validate | |
# - name: Run tests | |
# run: python -m pytest --cov=dawe_nrm tests/ |