-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #295 from Remi-Gau/maint
[MAINT] general maintenance
- Loading branch information
Showing
8 changed files
with
122 additions
and
102 deletions.
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
--- | ||
# Documentation | ||
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: 'monthly' | ||
interval: monthly | ||
|
||
- package-ecosystem: 'gitsubmodule' | ||
directory: '/' | ||
- package-ecosystem: gitsubmodule | ||
directory: / | ||
schedule: | ||
interval: 'monthly' | ||
interval: monthly |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
name: Check Markdown links | ||
|
||
on: push | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 |
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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
--- | ||
name: Publish docs via GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout master | ||
uses: actions/checkout@v4 | ||
build: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout master | ||
uses: actions/checkout@v4 | ||
|
||
- name: Deploy docs | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Deploy docs | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -1,46 +1,47 @@ | ||
--- | ||
name: Validate eCobidas protocols and activities | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
branches: [master] | ||
pull_request: | ||
branches: "*" | ||
branches: '*' | ||
|
||
jobs: | ||
|
||
build: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "12.x" | ||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 12.x | ||
|
||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
|
||
# Checks that our JSON are valid | ||
- name: Check for syntax errors | ||
run: | | ||
npm install -g jsonlint | ||
grep -r "@context" activities | cut -d: -f1 | xargs -I fname jsonlint -q fname | ||
grep -r "@context" python/conversion/tests/data | cut -d: -f1 | xargs -I fname jsonlint -q fname | ||
- name: Check for syntax errors | ||
run: | | ||
npm install -g jsonlint | ||
grep -r "@context" activities | cut -d: -f1 | xargs -I fname jsonlint -q fname | ||
grep -r "@context" python/conversion/tests/data | cut -d: -f1 | xargs -I fname jsonlint -q fname | ||
# Checks that the schemas are valid | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
pip install reproschema requests_cache | ||
- name: Test with pyshacl | ||
run: | | ||
reproschema -l DEBUG validate python/tests/data/protocols | ||
reproschema -l DEBUG validate python/tests/data/activities | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
pip install reproschema requests_cache | ||
- name: Test with pyshacl | ||
run: | | ||
reproschema -l DEBUG validate python/tests/data/protocols | ||
reproschema -l DEBUG validate python/tests/data/activities |
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 |
---|---|---|
@@ -1,33 +1,34 @@ | ||
--- | ||
# Project information | ||
site_name: 'eCOBIDAS' | ||
repo_name: 'Remi-Gau/eCobidas' | ||
repo_url: 'https://github.com/Remi-Gau/eCobidas' | ||
site_name: eCOBIDAS | ||
repo_name: Remi-Gau/eCobidas | ||
repo_url: https://github.com/Remi-Gau/eCobidas | ||
# docs_dir: alternative_path # docs/ is the default folder | ||
|
||
# This will use Material them | ||
theme: | ||
name: 'material' | ||
language: 'en' | ||
palette: | ||
primary: 'light blue' | ||
accent: 'light blue' | ||
name: material | ||
language: en | ||
palette: | ||
primary: light blue | ||
accent: light blue | ||
|
||
# Pages | ||
nav: | ||
- Welcome: "index.md" | ||
- Motivations: "10-motivations.md" | ||
- Goals: | ||
- Short term goals: "21-short-term.md" | ||
- Mid term goals: "22-mid-term.md" | ||
- Long term goals: "23-long-term.md" | ||
- General organization: "30-general-organization.md" | ||
- Working with the spreadhseets: "40-spreadsheets.md" | ||
- Viewing the checklist: "50-how-to-render-the-checklist.md" | ||
- How to contribute: "80-how-to-contribute.md" | ||
- Contributors: "90-contributors.md" | ||
- References: "99-references.md" | ||
- Welcome: index.md | ||
- Motivations: 10-motivations.md | ||
- Goals: | ||
- Short term goals: 21-short-term.md | ||
- Mid term goals: 22-mid-term.md | ||
- Long term goals: 23-long-term.md | ||
- General organization: 30-general-organization.md | ||
- Working with the spreadhseets: 40-spreadsheets.md | ||
- Viewing the checklist: 50-how-to-render-the-checklist.md | ||
- How to contribute: 80-how-to-contribute.md | ||
- Contributors: 90-contributors.md | ||
- References: 99-references.md | ||
|
||
# list of extension | ||
markdown_extensions: | ||
- admonition | ||
- pymdownx.details | ||
- admonition | ||
- pymdownx.details |
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