Update ontologies #1
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: Update ontologies | |
on: | |
schedule: | |
- cron: "0 0 1 */3 *" # runs at 00:00 UTC on the first day of every 3rd month | |
workflow_dispatch: | |
jobs: | |
test-urls: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install Bionty | |
run: pip install .[dev] | |
- name: check URLs | |
run: python ./bionty/base/scripts/update_new_ontologies.py |