Skip to content

Commit b8bc3a1

Browse files
committed
Run HERMES workflow in GitHub Actions
1 parent 6560bed commit b8bc3a1

4 files changed

Lines changed: 38 additions & 1 deletion

File tree

.github/workflows/hermes-run.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SPDX-FileCopyrightText: 2026 Helmholtz-Zentrum Dresden - Rossendorf e.V. (HZDR)
2+
# SPDX-FileContributor: David Pape
3+
#
4+
# SPDX-License-Identifier: CC0-1.0
5+
6+
name: Run HERMES Workflow
7+
run-name: HERMES run for ${{ github.actor }} on ${{ github.ref_name }}
8+
on: [push, pull_request]
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.11", "latest"]
15+
steps:
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Print Python version
21+
run: python -c "import sys; print(sys.version)"
22+
- name: Install package
23+
run: pip install -e .
24+
- run: hermes clean
25+
- run: hermes harvest
26+
- run: hermes process
27+
- run: hermes curate

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#
44
# SPDX-License-Identifier: CC0-1.0
55

6+
.hermes/
7+
hermes.log
8+
69
# Byte-compiled / optimized / DLL files
710
__pycache__/
811
*.py[codz]

hermes.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-FileCopyrightText: 2026 Helmholtz-Zentrum Dresden - Rossendorf e.V. (HZDR)
2+
# SPDX-FileContributor: David Pape
3+
#
4+
# SPDX-License-Identifier: CC0-1.0
5+
6+
[curate]
7+
method = "software-card"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ homepage = "https://github.com/softwarepub/hermes-plugin-software-card"
3838
repository = "https://github.com/softwarepub/hermes-plugin-software-card.git"
3939

4040
[project.entry-points."hermes.curate"]
41-
accept = "hermes_plugin_software_card.curate:SoftwareCaRDCuratePlugin"
41+
software-card = "hermes_plugin_software_card.curate:SoftwareCaRDCuratePlugin"
4242

4343
[tool.ruff.lint]
4444
select = [

0 commit comments

Comments
 (0)