Skip to content

update test for GHA #13

update test for GHA

update test for GHA #13

Workflow file for this run

name: Pylint
on:
workflow_dispatch:
push:
pull_request:
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pytest pytest-md pytest-emoji
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
- name: Run pytest
uses: pavelzw/pytest-action@v2
with:
verbose: true
emoji: true
job-summary: true
custom-arguments: 'functions.py -q'
click-to-expand: true
report-title: 'Test Report'