-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
28,384 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: CLDF-validation | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
|
||
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 .[test] | ||
- name: Test with pytest | ||
run: | | ||
pytest --cldf-metadata=cldf/Generic-metadata.json test.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"creators": [ | ||
{ | ||
"name": "The Glottography Consortium" | ||
} | ||
], | ||
"title": "Glottography dataset derived from Walker and Ribeiro 2011 \"Bayesian Phylogeography of the Arawak Expansion in Lowland South America\"", | ||
"access_right": "open", | ||
"keywords": [ | ||
"cldf:Generic", | ||
"linguistics" | ||
], | ||
"upload_type": "dataset", | ||
"description": "<p>Cite the source of the dataset as:</p>\n\n<blockquote>\n<p>Walker, Robert S. & Lincoln A. Ribeiro. 2011. Bayesian Phylogeography of the Arawak Expansion in Lowland South America. 278(1718). 2562\u20132567. doi: 10.1098/rspb.2010.2579. Royal Society.</p>\n</blockquote>", | ||
"license": { | ||
"id": "CC-BY-4.0" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Contributors | ||
|
||
name | role | github | ||
--- |--------| --- | ||
The Glottography Consortium | author | |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Releasing the dataset | ||
|
||
In case of upstream changes in glottography-data: | ||
```shell | ||
cldfbench download cldfbench_walker2011bayesian.py | ||
``` | ||
|
||
```shell | ||
cldfbench makecldf cldfbench_walker2011bayesian.py --glottolog-version v5.1 | ||
``` | ||
|
||
```shell | ||
cldf validate cldf | ||
``` | ||
|
||
```shell | ||
cldfbench cldfreadme cldfbench_walker2011bayesian.py | ||
``` | ||
|
||
```shell | ||
cldfbench zenodo cldfbench_walker2011bayesian.py | ||
``` | ||
|
||
```shell | ||
cldfbench readme cldfbench_walker2011bayesian.py | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.csv text eol=crlf |
Oops, something went wrong.