Merge pull request #9 from ambitus/secrets-redaction #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pyRACF Linting & Unit Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Python Setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install Dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install -r requirements.txt | |
python3 -m pip install -r requirements-development.txt | |
- name: Flake8 | |
run: flake8 . | |
- name: Pylint | |
run: pylint --recursive=y . | |
- name: Unit Test | |
run: coverage run tests/test_runner.py | |
- name: Code Coverage | |
run: coverage report -m |