Skip to content

Commit

Permalink
clean up github actions
Browse files Browse the repository at this point in the history
change pip and python -m pip to python3 -m pip
split Lint, unit test and coverage to 3 discrete steps
add build status badge for dev branch to repo readme
  • Loading branch information
ElijahSwiftIBM committed Aug 14, 2023
1 parent 61da9a1 commit 038fe60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/.github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-development.txt
- name: Test with pytest
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements-development.txt
- name: Lint
run: |
flake8 .
pylint --recursive=y .
- name: Unit test
python3 tests/test_runner.py
- name: Coverage report
coverage run tests/test_runner.py
coverage report -m
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ As automation becomes more and more prevalent, the need to manage the security e

* z/OS 2.4 and higher.
* R_SecMgtOper (IRRSMO00): Security Management Operations.
* The appropriate RACF authorizations. Detail can be found at: <https://www.ibm.com/docs/en/zos/2.3.0?topic=operations-racf-authorization>
* The appropriate RACF authorizations. Detail can be found at: <https://www.ibm.com/docs/en/zos/2.5.0?topic=operations-racf-authorization>

### Installation

Expand All @@ -42,6 +42,10 @@ python3 -m pip install pyracf

* [Github Discussions](https://github.com/ambitus/pyracf/discussions)

## Build Status

![GitHub Actions Build Status](https://github.com/ambitus/pyracf/actions/workflows/.github-actions.yml/badge.svg?branch=dev)

## Authors

* Leonard Carcaramo: lcarcaramo@ibm.com
Expand Down

0 comments on commit 038fe60

Please sign in to comment.