Skip to content

Commit

Permalink
Merge branch 'main' of github.com:clarin-eric/clarin-resource-families
Browse files Browse the repository at this point in the history
  • Loading branch information
kreetrapper committed Jul 11, 2024
2 parents ba82d7e + 7d2e9bf commit 459332c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "23 0 12 * *"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install fastjsonschema
- name: Validate tools' JSON
run: |
cd -- schemas/
./validate-all-tools.py -s ./spec-v1.schema.json -t ../corpora/cmc-corpora/
24 changes: 24 additions & 0 deletions schemas/.github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "23 0 12 * *"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install fastjsonschema
- name: Validate tools' JSON
run: |
cd -- schemas/
./validate-all-tools.py -s ./spec-v1.schema.json -s ./spec-v2.schema.json -t ../tools

0 comments on commit 459332c

Please sign in to comment.