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

Merge pull request #100 from openSUSE/master-contributing-md #110

Merge pull request #100 from openSUSE/master-contributing-md

Merge pull request #100 from openSUSE/master-contributing-md #110

Workflow file for this run

name: Linting Salt-Toaster
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
- name: Install requirements
run: pip install -r requirements.txt --exists-action w --upgrade
- name: Install additional requirements
run: pip install pytest pylint pytest-factoryboy salt beautifulsoup4
- name: Linting salt-toaster
run: pylint --errors-only tests/ utils.py config.py
- name: Linting salt-toaster image generator
working-directory: images
run: pylint --errors-only utils.py generate.py build.py docker/bin/lastchangelog