Skip to content

[pre-commit.ci] pre-commit autoupdate #70

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #70

Workflow file for this run

name: Run CI
on:
pull_request:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- uses: actions/cache@v3
name: Cache Dependencies
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.*') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Pytest
run: pytest
- name: Run Pylint
run: pylint $(git ls-files '*.py')