Skip to content

Commit 372c52e

Browse files
committed
separate workflows and 0.1.1 stable release
1 parent 3992a96 commit 372c52e

File tree

8 files changed

+78
-68
lines changed

8 files changed

+78
-68
lines changed

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint Workflow
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.12'
18+
- name: Install Poetry
19+
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1
20+
- name: Install dependencies
21+
run: poetry install --with dev
22+
- name: Lint with Pylint
23+
run: poetry run pylint scholarvista

.github/workflows/main.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish Workflow
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
needs: [test, lint]
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-python@v5
12+
with:
13+
python-version: '3.12'
14+
- name: Install Poetry
15+
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1
16+
- name: Install dependencies
17+
run: poetry install
18+
- name: Set up Poetry Key
19+
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
20+
- name: Publish to PyPI
21+
run: poetry publish --build

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test Workflow
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.12'
18+
- name: Install Poetry
19+
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1
20+
- name: Install dependencies
21+
run: poetry install
22+
- name: Run tests
23+
run: poetry run python -m unittest discover tests

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors:
66
orcid: https://orcid.org/0009-0000-8821-0587
77
title: 'ScholarVista'
88
license: Apache-2.0
9-
version: '0.1.1-beta'
10-
doi: '0.5281/zenodo.10654761'
9+
version: '0.1.1'
10+
doi: '10.5281/zenodo.10654760'
1111
date-released: 2024-02-13
1212
url: 'https://github.com/mciccale/ScholarVista'

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
![lint workflow](https://github.com/mciccale/ScholarVista/actions/workflows/main.yml/badge.svg)
2-
![PyPI version](https://badge.fury.io/py/scholarvista.svg)
1+
[![PyPI version](https://badge.fury.io/py/scholarvista.svg)](https://pypi.org/project/scholarvista)
32
[![Documentation Status](https://readthedocs.org/projects/scholarvista/badge/?version=latest)](https://scholarvista.readthedocs.io/en/latest/?badge=latest)
4-
![zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.10654761.svg)
3+
[![zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.10654761.svg)](https://zenodo.org/doi/10.5281/zenodo.10654760)
4+
![publish workflow](https://github.com/mciccale/ScholarVista/actions/workflows/publish.yml/badge.svg)
5+
![test workflow](https://github.com/mciccale/ScholarVista/actions/workflows/test.yml/badge.svg)
6+
![lint workflow](https://github.com/mciccale/ScholarVista/actions/workflows/lint.yml/badge.svg)
57

68
# ScholarVista
79

codemeta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"datePublished": "2024-02-14",
88
"dateModified": "2024-02-14",
99
"name": "ScholarVista",
10-
"version": "0.1.1-beta",
11-
"identifier": "0.5281/zenodo.10654761",
12-
"description": "ScholarVista is a tool that analyzes research papers and extracts and plots information from them. It utilizes [Grobid, a library for extracting content from research papers, to extract all the relevant data. The extracted data is then plotted and displayed using Python.",
10+
"version": "0.1.1",
11+
"identifier": "10.5281/zenodo.10654760",
12+
"description": "ScholarVista is a tool that analyzes research papers and extracts and plots information from them. It utilizes Grobid, a library for extracting content from research papers, to extract all the relevant data. The extracted data is then plotted and displayed using Python.",
1313
"applicationCategory": "Research",
1414
"developmentStatus": "active",
1515
"keywords": [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scholarvista"
3-
version = "0.1.1-beta"
3+
version = "0.1.1"
44
description = "ScholarVista is a tool that analyzes research papers and extracts and plots information from them. It utilizes Grobid, a library for extracting content from research papers, to extract all the relevant data. The extracted data is then plotted and displayed using Python."
55
authors = ["mciccale <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)