Skip to content

Made make default to help target #109

Made make default to help target

Made make default to help target #109

name: Simple Sanity Check
on:
push:
branches:
- "main"
paths:
- '**/*.py' # Run the job only when Python files change
- 'Makefile' # Run the job when Makefile changes
- '.github/workflows/system-monitor.yml' # Run the job when system-monitor.yml changes
pull_request:
branches:
- "main"
paths:
- '**/*.py' # Run the job only when Python files change
- 'Makefile' # Run the job when Makefile changes
- '.github/workflows/system-monitor.yml' # Run the job when system-monitor.yml changes
permissions:
contents: read
jobs:
build:
name: Sanity Check
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9.13"
cache: 'pipenv'
- name: Install Pipenv
run: pip install pipenv
- name: Install Pipfile dependencies
run: pipenv install --dev
- name: Lint with Flake8
run: pipenv run make lint
- name: Test with Pytest
run: pipenv run make test