-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt citation and add cff test (#206)
* Add CITATION.cff workflow * Add abstract to CITATION.cff * adjust editors in CITATION.cff * Add contact person in CITATION.cff * Minor fix with wrongly named variable in demo workflow: rename matrix.python-inplace to matrix.inplace
- Loading branch information
Showing
4 changed files
with
46 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Validate CITATION.cff | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
types: [opened, reopened, edited, synchronize] | ||
|
||
jobs: | ||
build: | ||
name: Validate CITATION.cff | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Skip Duplicate Actions | ||
uses: fkirc/skip-duplicate-actions@v5 | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install cffconvert | ||
run: | | ||
pip3 install --user cffconvert | ||
cffconvert --version | ||
- name: Validate schema | ||
run: | | ||
cffconvert --validate -i CITATION.cff |
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 |
---|---|---|
|
@@ -3,6 +3,12 @@ | |
|
||
cff-version: 1.2.0 | ||
title: ConFlowGen | ||
abstract: A generator for synthetic container flows at maritime container terminals with a focus on yard operations | ||
contact: | ||
- affiliation: "Institute of Maritime Logistics, Hamburg University of Technology (TUHH)" | ||
email: [email protected] | ||
family-names: Kastner | ||
given-names: Marvin | ||
message: >- | ||
Please cite this software using the metadata from | ||
'preferred-citation'. | ||
|
@@ -47,7 +53,7 @@ preferred-citation: | |
country: DE | ||
date-start: 2022-02-23 | ||
date-end: 2022-02-25 | ||
editors-series: | ||
editors: | ||
- family-names: Freitag | ||
given-names: Michael | ||
- family-names: Kinra | ||
|
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