Skip to content

Commit

Permalink
clean github actions yml
Browse files Browse the repository at this point in the history
-split linting into separate steps
-remove unnecessary newlines

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
  • Loading branch information
ElijahSwiftIBM committed Aug 15, 2023
1 parent 510914e commit a42b9a7
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/.github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: pyRACF Linting & Unit Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Python Setup
Expand All @@ -17,13 +14,11 @@ jobs:
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: Flake8
run: flake8 .
- name: Pylint
run: pylint --recursive=y .
- name: Unit Test
run: |
coverage run tests/test_runner.py
run: coverage run tests/test_runner.py
- name: Code Coverage
run: |
coverage report -m
run: coverage report -m

0 comments on commit a42b9a7

Please sign in to comment.