Skip to content

Commit 3b5a0a9

Browse files
committed
Update workflows and add PyPi badges.
Signed-off-by: Leonard Carcaramo <lcarcaramo@ibm.com>
1 parent 123b6ee commit 3b5a0a9

File tree

3 files changed

+31
-6
lines changed

3 files changed

+31
-6
lines changed

.github/workflows/lint.workflow.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
python-version: ["3.10", "3.11", "3.12"]
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Set Up Python ${{ matrix.python-version }}
13+
uses: actions/setup-python@v4
14+
with:
15+
python-version: ${{ matrix.python-version }}
16+
- name: Install Poetry
17+
run: curl -sSL https://install.python-poetry.org | python3 -
18+
- name: Show Poetry Environment Info
19+
run: poetry env info
20+
- name: Install Development Dependencies
21+
run: poetry install --no-root
22+
- name: Flake8
23+
run: poetry run flake8 .
24+
- name: Pylint
25+
run: poetry run pylint --recursive=y .

.github/workflows/.github-actions.yml renamed to .github/workflows/unit-test.workflow.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pyRACF Linting & Unit Test
1+
name: Unit Test
22
on: [push, pull_request]
33
jobs:
44
build:
@@ -19,10 +19,6 @@ jobs:
1919
run: poetry env info
2020
- name: Install Development Dependencies
2121
run: poetry install --no-root
22-
- name: Flake8
23-
run: poetry run flake8 .
24-
- name: Pylint
25-
run: poetry run pylint --recursive=y .
2622
- name: Unit Test
2723
run: poetry run coverage run tests/test_runner.py
2824
- name: Code Coverage

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
![pyRACF Logo](https://raw.githubusercontent.com/ambitus/pyracf/refs/heads/main/logo.png)
22

3-
![GitHub Actions Build Status](https://github.com/ambitus/pyracf/actions/workflows/.github-actions.yml/badge.svg?branch=dev)
3+
![Lint](https://github.com/ambitus/pyracf/actions/workflows/lint.workflow.yml/badge.svg?branch=dev)
4+
![Unit Test](https://github.com/ambitus/pyracf/actions/workflows/unit-test.workflow.yml/badge.svg?branch=dev)
5+
[![Beta Version](https://img.shields.io/pypi/v/pyracf?label=stable)][PyPI Releases]
6+
[![Python Versions](https://img.shields.io/pypi/pyversions/pyracf)][PyPI]
7+
[![Download Stats](https://img.shields.io/pypi/dm/pyracf)](https://pypistats.org/packages/pyracf)
48

59
> ⚠️ _If this is not what you are looking for, it is likely because you are looking for a different package that used to be distributed under the `pyracf` name. You may instead be looking for the [`mfpandas`](https://pypi.org/project/mfpandas/) package, which was distributed under the `pyracf` name prior to October 2024._
610

0 commit comments

Comments
 (0)