Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt citation and add cff test #206

Merged
merged 9 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/citation.yml
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
2 changes: 1 addition & 1 deletion .github/workflows/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Install Python dependencies
run: |
pip3 install --user ${{ matrix.python-inplace }} .
pip3 install --user ${{ matrix.inplace }} .

- name: Run demo
run: |
Expand Down
8 changes: 7 additions & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Documentation Status](https://readthedocs.org/projects/conflowgen/badge/?version=latest)](https://conflowgen.readthedocs.io/en/latest/?badge=latest)
[![Docs](https://github.com/1kastner/conflowgen/actions/workflows/docs.yaml/badge.svg)](https://github.com/1kastner/conflowgen/actions/workflows/docs.yaml)
[![documentation built](https://github.com/1kastner/conflowgen/actions/workflows/docs.yaml/badge.svg)](https://github.com/1kastner/conflowgen/actions/workflows/docs.yaml)
[![CITATION.cff valid](https://github.com/1kastner/conflowgen/actions/workflows/citation.yml/badge.svg)](https://github.com/1kastner/conflowgen/actions/workflows/citation.yml)

[![Tests](https://github.com/1kastner/conflowgen/actions/workflows/unittests.yaml/badge.svg)](https://github.com/1kastner/conflowgen/actions/workflows/unittests.yaml)
[![codecov](https://codecov.io/gh/1kastner/conflowgen/branch/main/graph/badge.svg?token=GICVMYHJ42)](https://codecov.io/gh/1kastner/conflowgen)
Expand Down
Loading