Skip to content

convert travis yml to github-actions yml #13

convert travis yml to github-actions yml

convert travis yml to github-actions yml #13

Workflow file for this run

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: Lint
run: |
flake8 .
pylint --recursive=y .
- name: Unit Test
run: |
coverage run tests/test_runner.py
- name: Code Coverage
run: |
coverage report -m