generated from FAIRChemistry/sdrdm-template
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #6 from FAIRChemistry/develop
Develop
- Loading branch information
Showing
90 changed files
with
5,470 additions
and
646,146 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,38 +1,38 @@ | ||
name: Generate API | ||
|
||
on: push | ||
|
||
jobs: | ||
generate-api: | ||
runs-on: ubuntu-latest | ||
env: | ||
LIB_NAME: ${{ secrets.LIB_NAME }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install sdRDM | ||
run: python3 -m pip install git+https://github.com/JR-1991/software-driven-rdm.git@linking-refactor | ||
|
||
- name: Generate API | ||
env: | ||
URL: ${{github.repositoryUrl}} | ||
COMMIT: ${{github.sha}} | ||
run: sdrdm generate --path ./specifications/ --out . --name "$LIB_NAME" --url "$URL" --commit "$COMMIT" | ||
|
||
- name: Push source code | ||
run: | | ||
if [[ `git status --porcelain` ]]; then | ||
git add "$LIB_NAME" | ||
git config --global user.name 'sdRDM Bot' | ||
git config --global user.email '[email protected]' | ||
git commit -am "API update" | ||
git push | ||
else | ||
echo "Nothing changed!" | ||
fi | ||
name: Generate API | ||
|
||
on: push | ||
|
||
jobs: | ||
generate-api: | ||
runs-on: ubuntu-latest | ||
env: | ||
LIB_NAME: ${{ secrets.LIB_NAME }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install sdRDM | ||
run: python3 -m pip install git+https://github.com/JR-1991/software-driven-rdm.git@linking-refactor | ||
|
||
- name: Generate API | ||
env: | ||
URL: ${{github.repositoryUrl}} | ||
COMMIT: ${{github.sha}} | ||
run: sdrdm generate --path ./specifications/ --out . --name "$LIB_NAME" --url "$URL" --commit "$COMMIT" | ||
|
||
- name: Push source code | ||
run: | | ||
if [[ `git status --porcelain` ]]; then | ||
git add "$LIB_NAME" | ||
git config --global user.name 'sdRDM Bot' | ||
git config --global user.email '[email protected]' | ||
git commit -am "API update" | ||
git push | ||
else | ||
echo "Nothing changed!" | ||
fi |
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,35 @@ | ||
# experimental data | ||
data/ | ||
# raw data | ||
data/Rohdaten | ||
|
||
# generated datasets | ||
datasets/* | ||
|
||
# GitHub | ||
.github/ | ||
# .github/ | ||
|
||
# VS Code | ||
.vscode | ||
|
||
# images | ||
*.png | ||
|
||
# log files | ||
*.log | ||
|
||
#compiled python files | ||
*.pyc | ||
|
||
.datamodel_b07_tc/core | ||
# generated python objects | ||
# datamodel_b07_tc/core | ||
|
||
# compiled bython files | ||
datamodel_b07_tc/__pycache__ | ||
|
||
# generated schemes of the data model | ||
datamodel_b07_tc/schemes | ||
|
||
# to do list for this notebook | ||
todo.txt | ||
|
||
.datamodel_b07_tc/__pycache__ | ||
# test notebook to try new things | ||
test_notebook.ipynb |
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
Oops, something went wrong.