Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Merge pull request #12 from MO-RISE/feat/consolidation-pb2js #30

Merge pull request #12 from MO-RISE/feat/consolidation-pb2js

Merge pull request #12 from MO-RISE/feat/consolidation-pb2js #30

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
linting-bash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: azohra/shell-linter@latest
linting-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Run black
run: |
black --check bin/*
- name: Run pylint
run: |
pylint bin/*
testing-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Run pytest
run: |
pytest -vv tests/