Skip to content

chore(deps): bump semantic-version from 2.8.5 to 2.10.0 in /tools/ontology-builder #144

chore(deps): bump semantic-version from 2.8.5 to 2.10.0 in /tools/ontology-builder

chore(deps): bump semantic-version from 2.8.5 to 2.10.0 in /tools/ontology-builder #144

Workflow file for this run

name: Push Tests
on:
pull_request:
branches:
- "*"
push:
branches:
- "main"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
permissions:
id-token: write
contents: read
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-python@v5
- name: lint checks
uses: pre-commit/[email protected]
unit-test-ontonolgy-builder:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Python cache
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -r tools/ontology-builder/requirements.txt
pip install -r tools/ontology-builder/requirements-dev.txt
- name: Ontology builder unit tests
run: |
cd tools/ontology-builder && make unit-tests
unit-test-python-api:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Python cache
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/api/python/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
cd api/python
make install-dev
- name: Python API unit tests
run: |
cd api/python
make unit-tests