Skip to content

Added files pylint, integration tests, CI, workflow #7

Added files pylint, integration tests, CI, workflow

Added files pylint, integration tests, CI, workflow #7

Workflow file for this run

name: Generic workflow
on:
workflow_call:
inputs:
python-version:
required: true
type: string
package-manager:
required: true
type: string
install-args:
required: false
type: string
default: ""
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:

Check failure on line 21 in .github/workflows/workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
python-version: [${{ inputs.python-version }}]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --disable=all --enable=C0114,C0115,C0116,C0301